[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190314032416.GA25492@eros.localdomain>
Date: Thu, 14 Mar 2019 14:24:16 +1100
From: "Tobin C. Harding" <me@...in.cc>
To: Christopher Lameter <cl@...ux.com>
Cc: "Tobin C. Harding" <tobin@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Roman Gushchin <guro@...com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Matthew Wilcox <willy@...radead.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/5] slob: Use slab_list instead of lru
On Wed, Mar 13, 2019 at 07:05:02PM +0000, 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 */
> > - 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?
Thanks for the review. Next version includes a fix for this.
Tobin.
Powered by blists - more mailing lists