slub: add 'likely' macro to inc_slabs_node()
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Mon, 21 Jan 2013 08:01:27 +0000 (17:01 +0900)
committerPekka Enberg <penberg@kernel.org>
Tue, 2 Apr 2013 06:42:17 +0000 (09:42 +0300)
commit338b2642290ef3193229ece8cfc776ac4fe8869d
tree4859bf45131f645f1845552a1ab33fdc4ea31af8
parent633b076464da52b3c7bf0f62932fbfc0ea23d8b3
slub: add 'likely' macro to inc_slabs_node()

After boot phase, 'n' always exist.
So add 'likely' macro for helping compiler.

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c