diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-08-18 00:46:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-18 01:20:29 +0200 |
commit | 6ca342d020e8b8315d430d3a7d7c65daadfb4d8b (patch) | |
tree | c51936e10cd1aa01bbcfa8eb3995146e7cb43bed /mm/list_lru.c | |
parent | mm: workingset: remove local_irq_disable() from count_shadow_nodes() (diff) | |
download | linux-6ca342d020e8b8315d430d3a7d7c65daadfb4d8b.tar.xz linux-6ca342d020e8b8315d430d3a7d7c65daadfb4d8b.zip |
mm: workingset: make shadow_lru_isolate() use locking suffix
shadow_lru_isolate() disables interrupts and acquires a lock. It could
use spin_lock_irq() instead. It also uses local_irq_enable() while it
could use spin_unlock_irq()/xa_unlock_irq().
Use proper suffix for lock/unlock in order to enable/disable interrupts
during release/acquire of a lock.
Link: http://lkml.kernel.org/r/20180622151221.28167-3-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions