summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorWanpeng Li <liwanp@linux.vnet.ibm.com>2013-07-04 08:33:22 +0800
committerPekka Enberg <penberg@kernel.org>2013-07-07 18:37:46 +0300
commit0fa8103be4c20f893486c533e4c6dfbc5ccddeb4 (patch)
tree890b6eb373acf23232c6f05fdd5fb90ea511c83b /fs/seq_file.c
parent069e2b351de67e7a837b15b3d26c65c19b790cc3 (diff)
downloadop-kernel-dev-0fa8103be4c20f893486c533e4c6dfbc5ccddeb4.zip
op-kernel-dev-0fa8103be4c20f893486c533e4c6dfbc5ccddeb4.tar.gz
mm/slab: Fix drain freelist excessively
The drain_freelist is called to drain slabs_free lists for cache reap, cache shrink, memory hotplug callback etc. The tofree parameter should be the number of slab to free instead of the number of slab objects to free. This patch fix the callers that pass # of objects. Make sure they pass # of slabs. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud