[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.22.394.2105251110550.107680@gentwo.de>
Date: Tue, 25 May 2021 11:12:17 +0200 (CEST)
From: Christoph Lameter <cl@...two.de>
To: Vlastimil Babka <vbabka@...e.cz>
cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
David Rientjes <rientjes@...gle.com>,
Pekka Enberg <penberg@...nel.org>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Thomas Gleixner <tglx@...utronix.de>,
Mel Gorman <mgorman@...hsingularity.net>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Jann Horn <jannh@...gle.com>
Subject: Re: [RFC 07/26] mm, slub: return slab page from get_partial() and
set c->page afterwards
On Tue, 25 May 2021, Vlastimil Babka wrote:
> The function get_partial() finds a suitable page on a partial list, acquires
> and returns its freelist and assigns the page pointer to kmem_cache_node.
in kmem_cache_cpu ??
> In later patch we will need more control over the kmem_cache_node assignment,
kmem_cache_cpu?
> so instead return the page pointer to get_partial()'s caller and assign it
> there. No functional change as all of this still happens with disabled irq.
Instead of passing a kmem_cache_cpu pointer pass a pointer to a pointer to
a page ....
Powered by blists - more mailing lists