diff options
author | Miles Chen <miles.chen@mediatek.com> | 2018-02-01 01:15:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-01 02:18:36 +0100 |
commit | 0d2d5d40deb49314b6f701589e1cae3bca3aa94c (patch) | |
tree | b066a9e18a35f8fa775e71c985f28920fcb4e98e /mm/mprotect.c | |
parent | mm/slub.c: fix wrong address during slab padding restoration (diff) | |
download | linux-0d2d5d40deb49314b6f701589e1cae3bca3aa94c.tar.xz linux-0d2d5d40deb49314b6f701589e1cae3bca3aa94c.zip |
slub: remove obsolete comments of put_cpu_partial()
Commit d6e0b7fa1186 ("slub: make dead caches discard free slabs
immediately") makes put_cpu_partial() run with preemption disabled and
interrupts disabled when calling unfreeze_partials().
The comment: "put_cpu_partial() is done without interrupts disabled and
without preemption disabled" looks obsolete, so remove it.
Link: http://lkml.kernel.org/r/1516968550-1520-1-git-send-email-miles.chen@mediatek.com
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions