lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/5] slob: Use slab_list instead of lru
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;
> b = slob_page_alloc(sp, size, align);
> if (!b)
> continue;

Hmmm... Is there a way to use a macro or so to avoid referencing the field
within the slab_list?

\
 
 \ /
  Last update: 2019-03-13 20:07    [W:0.099 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site