commit | 9de1bc875261411bf0a900e90cfe0c7a31c4917b | [log] [tgz] |
---|---|---|
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | Fri Aug 02 11:02:42 2013 +0900 |
committer | Pekka Enberg <penberg@kernel.org> | Wed Aug 14 18:26:10 2013 +0300 |
tree | 8452af4e203a28294f86734c17619a048e31c755 | |
parent | 68f06650ea63f38e1cca7b5bbd56a9c1b8ac5209 [diff] |
mm, slab_common: add 'unlikely' to size check of kmalloc_slab() Size is usually below than KMALLOC_MAX_SIZE. If we add a 'unlikely' macro, compiler can make better code. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>