Messages in this thread | | | Date | Tue, 25 May 2021 12:59:58 +0100 | From | Mel Gorman <> | Subject | Re: [RFC 06/26] mm, slub: dissolve new_slab_objects() into ___slab_alloc() |
| |
On Tue, May 25, 2021 at 01:39:26AM +0200, Vlastimil Babka wrote: > The later patches will need more fine grained control over individual actions > in ___slab_alloc(), the only caller of new_slab_objects(), so dissolve it > there. This is a preparatory step with no functional change. > > The only minor change is moving WARN_ON_ONCE() for using a constructor together > with __GFP_ZERO to new_slab() which makes it somewhat less frequent, but still > able to catch a misuse. > > Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
The goto in the previous patch makes a bit more sense now
Acked-by: Mel Gorman <mgorman@techsingularity.net>
-- Mel Gorman SUSE Labs
| |