diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2014-08-06 23:04:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 01:01:14 (GMT) |
commit | 25c063fbd5512eb7190bf5af88351109aededb3f (patch) | |
tree | 861c20931ee12c950cc56d64c9965dd630c277bb /sound/pcmcia | |
parent | 8a9c61d4381c5e5007cc68e023940b18fa0808d7 (diff) | |
download | linux-25c063fbd5512eb7190bf5af88351109aededb3f.tar.xz |
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 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions