]> git.baikalelectronics.ru Git - kernel.git/commit
slub: remove obsolete comments of put_cpu_partial()
authorMiles Chen <miles.chen@mediatek.com>
Thu, 1 Feb 2018 00:15:47 +0000 (16:15 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 01:18:36 +0000 (17:18 -0800)
commitea1a2561fb16f2e75bd19d4e55452f4ee1a6404e
treeb066a9e18a35f8fa775e71c985f28920fcb4e98e
parent5ee5437a5df69e67ea2d0a41b0fd1121007c6476
slub: remove obsolete comments of put_cpu_partial()

Commit 2d3c78f482bf ("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>
mm/slub.c