diff options
author | Joonsoo Kim | 2014-08-07 01:04:22 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-08-07 03:01:14 +0200 |
commit | 25c063fbd5512eb7190bf5af88351109aededb3f (patch) | |
tree | 861c20931ee12c950cc56d64c9965dd630c277bb /mm/balloon_compaction.c | |
parent | slab: add unlikely macro to help compiler (diff) | |
download | kernel-qcow2-linux-25c063fbd5512eb7190bf5af88351109aededb3f.tar.gz kernel-qcow2-linux-25c063fbd5512eb7190bf5af88351109aededb3f.tar.xz kernel-qcow2-linux-25c063fbd5512eb7190bf5af88351109aededb3f.zip |
slab: move up code to get kmem_cache_node in free_block()
node isn't changed, so we don't need to retreive this structure
everytime we move the object. Maybe compiler do this optimization, but
making it explicitly is better.
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/balloon_compaction.c')
0 files changed, 0 insertions, 0 deletions