diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-08-17 15:49:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-17 16:20:32 -0700 |
commit | 6cfe57a96ba33139c57056185d5eee9018e3dedc (patch) | |
tree | 801e1dd228acd93078bd7548879f7577d16cc486 /security | |
parent | 87a5ffc163966b2eb675c9c863c0caccab3183f6 (diff) | |
download | linux-6cfe57a96ba33139c57056185d5eee9018e3dedc.tar.bz2 |
mm/list_lru.c: move locking from __list_lru_walk_one() to its caller
Move the locking inside __list_lru_walk_one() to its caller. This is a
preparation step in order to introduce list_lru_walk_one_irq() which
does spin_lock_irq() instead of spin_lock() for the locking.
Link: http://lkml.kernel.org/r/20180716111921.5365-3-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Vladimir Davydov <vdavydov.dev@gmail.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 'security')
0 files changed, 0 insertions, 0 deletions