summaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-08-09 13:01:32 -0500
committerPekka Enberg <penberg@kernel.org>2011-08-09 21:12:31 +0300
commit81107188f123e3c2217ac2f2feb2a1147904c62f (patch)
tree53626e529423c12d082cbcc23012de0b39f26e4d /mm/page_io.c
parentef62fb32b7b21731e41aea3c1e08bcdb407c9eb9 (diff)
downloadop-kernel-dev-81107188f123e3c2217ac2f2feb2a1147904c62f.zip
op-kernel-dev-81107188f123e3c2217ac2f2feb2a1147904c62f.tar.gz
slub: Fix partial count comparison confusion
deactivate_slab() has the comparison if more than the minimum number of partial pages are in the partial list wrong. An effect of this may be that empty pages are not freed from deactivate_slab(). The result could be an OOM due to growth of the partial slabs per node. Frees mostly occur from __slab_free which is okay so this would only affect use cases where a lot of switching around of per cpu slabs occur. Switching per cpu slabs occurs with high frequency if debugging options are enabled. Reported-and-tested-by: Xiaotian Feng <xtfeng@gmail.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud