Re: [PATCH RFC 1/5] mm/slab: cleanup deferred free handling
Hao Li <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.bpf,gmane.linux.kernel.mm,gmane.linux.drivers.video-input-infrastructure,gmane.comp.video.dri.devel |
|---|---|
| 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