[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.22.394.2008131647040.112773@www.lameter.com>
Date: Thu, 13 Aug 2020 16:47:30 +0000 (UTC)
From: Christopher Lameter <cl@...ux.com>
To: Abel Wu <wuyun.wu@...wei.com>
cc: Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
hewenliang4@...wei.com, hushiyuan@...wei.com,
"open list:SLAB ALLOCATOR" <linux-mm@...ck.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm/slub: branch optimization in free slowpath
On Thu, 13 Aug 2020, wuyun.wu@...wei.com wrote:
> The two conditions are mutually exclusive and gcc compiler will
> optimise this into if-else-like pattern. Given that the majority
> of free_slowpath is free_frozen, let's provide some hint to the
> compilers.
Acked-by: Christoph Lameter <cl@...ux.com>
Powered by blists - more mailing lists