diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-08-24 08:57:52 +0800 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-08-27 11:59:00 +0300 |
commit | 136333d104bd3a62d783b0ac3d0f32ac0108c5d0 (patch) | |
tree | dbac3ee89362a3707823bbd1185ad0423cb153de /mm/percpu-vm.c | |
parent | slub: add slab with one free object to partial list tail (diff) | |
download | linux-dev-136333d104bd3a62d783b0ac3d0f32ac0108c5d0.tar.xz linux-dev-136333d104bd3a62d783b0ac3d0f32ac0108c5d0.zip |
slub: explicitly document position of inserting slab to partial list
Adding slab to partial list head/tail is sensitive to performance.
So explicitly uses DEACTIVATE_TO_TAIL/DEACTIVATE_TO_HEAD to document
it to avoid we get it wrong.
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Shaohua Li <shli@kernel.org>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions