SLAB: Fix unlikely() annotation in __cache_alloc_node()
authorTim Blechmann <tim@klingt.org>
Mon, 30 Nov 2009 17:59:34 +0000 (18:59 +0100)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 6 Dec 2009 08:21:21 +0000 (10:21 +0200)
commit8e15b79cf4bd20c6afb4663d98a39cd004eee672
tree07fd37869099565727a20ba85cb5b557c5e84fe8
parentce79ddc8e2376a9a93c7d42daf89bfcbb9187e62
SLAB: Fix unlikely() annotation in __cache_alloc_node()

Branch profiling on my nehalem machine showed 99% incorrect branch hints:

   28459  7678524  99 __cache_alloc_node             slab.c               3551

Discussion on lkml [1] led to the solution to remove this hint.

[1] http://patchwork.kernel.org/patch/63517/

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slab.c