]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/slab: factor out slab list fixup code
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>
Tue, 9 Feb 2016 23:12:04 +0000 (10:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:12:04 +0000 (10:12 +1100)
commit971c27ca2291bfb7cc17d097f5ff3debe6fd5dbb
tree50e1c81c21bc84242087a23aeb0739dfd148a59c
parentf278afedc14ff92f4bc3d8cfa77750cbee732d24
mm/slab: factor out slab list fixup code

Slab list should be fixed up after object is detached from the slab and
this happens at two places.  They do exactly same thing.  They will be
changed in the following patch, so, to reduce code duplication, this patch
factor out them and make it common function.

Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/slab.c