Re: [PATCH] mm/slub: branch optimization in free slowpath
From: Christopher Lameter
Date: Thu Aug 13 2020 - 12:47:32 EST
On Thu, 13 Aug 2020, wuyun.wu@xxxxxxxxxx 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@xxxxxxxxx>