diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2013-08-02 04:02:42 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-08-14 17:26:10 +0200 |
commit | 9de1bc875261411bf0a900e90cfe0c7a31c4917b (patch) | |
tree | 8452af4e203a28294f86734c17619a048e31c755 /ipc | |
parent | mm/slub.c: beautify code for removing redundancy 'break' statement. (diff) | |
download | linux-9de1bc875261411bf0a900e90cfe0c7a31c4917b.tar.xz linux-9de1bc875261411bf0a900e90cfe0c7a31c4917b.zip |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions