From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CCFBC4345F for ; Thu, 2 May 2024 08:00:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 094E06B0083; Thu, 2 May 2024 04:00:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0464F6B0085; Thu, 2 May 2024 03:59:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E4F176B0087; Thu, 2 May 2024 03:59:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id C705D6B0083 for ; Thu, 2 May 2024 03:59:59 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 5DDBD40854 for ; Thu, 2 May 2024 07:59:59 +0000 (UTC) X-FDA: 82072707318.13.B4561F1 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by imf11.hostedemail.com (Postfix) with ESMTP id 0B8EF40014 for ; Thu, 2 May 2024 07:59:56 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=OCfJTmIN; dkim=pass header.d=suse.com header.s=susede1 header.b=OCfJTmIN; spf=pass (imf11.hostedemail.com: domain of mhocko@suse.com designates 195.135.223.130 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714636797; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=jwMXEhuqwtOAvaIoD03YuDzdsGEFsjaWp6fUquJMkxg=; b=ULjA1Qa4EjPUkH9jZm08sM9LHhV+8BjW3x+JrYURWAQ1I79E0nT3fC3uzbCr4LCHvyrk/y k16baNiol54xF2AXCbQZ7DVh5aGeSubZmIuulfiWupyttK43+JUD2qmSVJiFDtCB090oNx WCokEndyY4Vb3VZ6NiDZJKeGxEV+fxU= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714636797; a=rsa-sha256; cv=none; b=gXkBm08CaFrtnRoVbDPmBDEqq/VHjv2beAT5h9gjuLHg7foZ0Fdem8upNdswidUs3ENinX RTApDKa5Z03fAiG3IZcaWV9htv7qwHYMxGYem3EYZ6hl+KBpWbTl8naMlK5BsfscQpywui /h8EMt69TF+cvcZz9d/spJKR7MtZrQ4= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=OCfJTmIN; dkim=pass header.d=suse.com header.s=susede1 header.b=OCfJTmIN; spf=pass (imf11.hostedemail.com: domain of mhocko@suse.com designates 195.135.223.130 as permitted sender) smtp.mailfrom=mhocko@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 526CE350C7; Thu, 2 May 2024 07:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1714636795; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jwMXEhuqwtOAvaIoD03YuDzdsGEFsjaWp6fUquJMkxg=; b=OCfJTmINt3WDycBW5M7CQlWJR2l8g6c++aCLHxCaQLn8iGxJ8ZrYkyYFvmvHKRJKaZUP2L 4q5iwipvd5QzWAX//nmADpGHhewpLJtvASBVQjGHOzmGIwS6dc2xcSVWONe1Ks0VvpVlHs iBBF77xAJlN/mq/4O6pBp0YIDIJNN9g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1714636795; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jwMXEhuqwtOAvaIoD03YuDzdsGEFsjaWp6fUquJMkxg=; b=OCfJTmINt3WDycBW5M7CQlWJR2l8g6c++aCLHxCaQLn8iGxJ8ZrYkyYFvmvHKRJKaZUP2L 4q5iwipvd5QzWAX//nmADpGHhewpLJtvASBVQjGHOzmGIwS6dc2xcSVWONe1Ks0VvpVlHs iBBF77xAJlN/mq/4O6pBp0YIDIJNN9g= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 39D0113957; Thu, 2 May 2024 07:59:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id obG8C/tHM2aCWAAAD6G6ig (envelope-from ); Thu, 02 May 2024 07:59:55 +0000 Date: Thu, 2 May 2024 09:59:50 +0200 From: Michal Hocko To: Vlastimil Babka Cc: lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org, bpf Subject: Re: [Lsf-pc] [LSF/MM/BPF TOPIC] SLUB: what's next? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-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Qd1ft8lnNiZ/O6thAeb76Bwhs/MFmw7C Vc44jYCU HXZjGzWerrWGXm03u2Qm0rTxmNTtLJ1gQPXSoLwDf7pczSr+psD4evijoadFT5pm3s+wvuL7O2sMfHHEO8G7OzW0P2UnKDo0qSbmyU036ZUZI/U/CLujwzsEIjnKWj4VDr90Qxq34tzmZpSTbfXNAiPBkrgk8ZNlEW4VyWCSTBDWBm3QzXYt9hQj5hB9YOoCXM6aMmGF68tV/uwA+Xwj4kSESEbAV1RAeNOK6BAtWii9rER8jDQQB87/UobinpXWo1Dar X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Tue 30-04-24 17:42:18, Vlastimil Babka wrote: > Hi, > > I'd like to propose a session about the next steps for SLUB. This is > different from the BOF about sheaves that Matthew suggested, which would be > not suitable for the whole group due to being not fleshed out enough yet. > But the session could be scheduled after the BOF so if we do brainstorm > something promising there, the result could be discussed as part of the full > session. > > Aside from that my preliminary plan is to discuss: > > - what was made possible by reducing the slab allocators implementations to > a single one, and what else could be done now with a single implementation > > - the work-in-progress work (for now in the context of maple tree) on SLUB > per-cpu array caches and preallocation > > - what functionality would SLUB need to gain so the extra caching done by > bpf allocator on top wouldn't be necessary? (kernel/bpf/memalloc.c) > > - similar wrt lib/objpool.c (did you even noticed it was added? :) > > - maybe the mempool functionality could be better integrated as well? > > - are there more cases where people have invented layers outside mm and that > could be integrated with some effort? IIRC io_uring also has some caching on > top currently... > > - better/more efficient memcg integration? > > - any other features people would like SLUB to have? Thanks a lot Vlastimi. This is quite a list. Do you think this is a fit into a single time slot or would that benefit from splitting into 2 slots? -- Michal Hocko SUSE Labs