lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0100016978719138-5260db28-77f5-4abb-8110-2732aa709c5e-000000@email.amazonses.com>
Date:   Wed, 13 Mar 2019 19:05:02 +0000
From:   Christopher Lameter <cl@...ux.com>
To:     "Tobin C. Harding" <tobin@...nel.org>
cc:     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, 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?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ