Re: [PATCH RFC 1/5] mm/slab: cleanup deferred free handling
Hao Li <[email protected]>
| Newsgroups | org.kernel.vger.linux-media,dev.linux.lists.linux-rt-devel,org.freedesktop.lists.dri-devel,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <aoPN2evd_u09IxfR@fedora> |
On Fri, Aug 07, 2026 at 03:50:27PM +0200, Vlastimil Babka (SUSE) wrote: > In deferred_percpu_work_fn() we have a bunch of single-use local > variables for the various llists. Remove them and access the lists > directly. > > In defer_free() make it more obvious and documented what we are doing. > Also restrict guard(preempt) to only the necessary part. > > Signed-off-by: Vlastimil Babka (SUSE) <[email protected]> > --- > mm/slub.c | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-) Looks much cleaner now. Reviewed-by: Hao Li <[email protected]> -- Thanks, Hao