summaryrefslogtreecommitdiffstats
path: root/Documentation/extcon
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2016-12-12 16:41:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-12 18:55:07 -0800
commitbf00bd3458041c4643a13d80fb349d29cb66eb63 (patch)
tree743f4b6e25be9e4f5fbfb4d4c3472cd83b299cad /Documentation/extcon
parentf728b0a5d72ae99c446f933912914a61254c03b6 (diff)
downloadblackbird-op-linux-bf00bd3458041c4643a13d80fb349d29cb66eb63.tar.gz
blackbird-op-linux-bf00bd3458041c4643a13d80fb349d29cb66eb63.zip
mm, slab: maintain total slab count instead of active count
Rather than tracking the number of active slabs for each node, track the total number of slabs. This is a minor improvement that avoids active slab tracking when a slab goes from free to partial or partial to free. For slab debugging, this also removes an explicit free count since it can easily be inferred by the difference in number of total objects and number of active objects. Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1612042020110.115755@chino.kir.corp.google.com Signed-off-by: David Rientjes <rientjes@google.com> Suggested-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Greg Thelen <gthelen@google.com> Cc: Aruna Ramakrishna <aruna.ramakrishna@oracle.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/extcon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud