On Wed, Mar 13, 2019 at 07:05:02PM +, Christopher Lameter wrote:
> On Wed, 13 Mar 2019, Tobin C. Harding wrote:
>
> > @@ -297,7 +297,7 @@ static void *slob_alloc(size_t size, gfp_t gfp, int
> > align, int node)
> > continue;
> >
> > /* Attempt to alloc */
> > -
On Wed, 13 Mar 2019, Tobin C. Harding wrote:
> @@ -297,7 +297,7 @@ static void *slob_alloc(size_t size, gfp_t gfp, int
> align, int node)
> continue;
>
> /* Attempt to alloc */
> - prev = sp->lru.prev;
> + prev = sp->slab_list.prev;
>
Currently we use the page->lru list for maintaining lists of slabs. We
have a list_head in the page structure (slab_list) that can be used for
this purpose. Doing so makes the code cleaner since we are not
overloading the lru list.
The slab_list is part of a union within the page struct (include
3 matches
Mail list logo