mm/slab: factor out slab list fixup code
authorJoonsoo Kim <[email protected]>
Tue, 15 Mar 2016 21:54:44 +0000 (14:54 -0700)
committerLinus Torvalds <[email protected]>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commitd8410234db6a1bb05408ba2f0e3fd6b04ef626a3
treefb869ccb16ceaa46b22f628c9853dbe06d6dd0e8
parent3217fd9bdf0017bd0847939f67d52a9c71d8fc56
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 <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab.c