]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - mm/slab_common.c
mm/slab: Fix /proc/slabinfo unwriteable for slab
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Thu, 4 Jul 2013 00:33:24 +0000 (08:33 +0800)
committerPekka Enberg <penberg@kernel.org>
Sun, 7 Jul 2013 15:37:47 +0000 (18:37 +0300)
commite9b4db2b8dba6b6c666e54b20ce46f3e597a6d96
tree1e9862619ecbca7695558280bbd02637b1fea421
parente25839f67948ca54fa55a45686d72c266f65f099
mm/slab: Fix /proc/slabinfo unwriteable for slab

Slab have some tunables like limit, batchcount, and sharedfactor can be
tuned through function slabinfo_write. Commit (b7454ad3: mm/sl[au]b: Move
slabinfo processing to slab_common.c) uncorrectly change /proc/slabinfo
unwriteable for slab, this patch fix it by revert to original mode.

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>
mm/slab_common.c