aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2022-10-26 15:48:30 +0200
committerAndrew Morton <[email protected]>2022-10-28 13:37:23 -0700
commitdda1c41a07b4a4c3f99b5b28c1e8c485205fe860 (patch)
tree5ce360fff16ca56c711caa77ff774f2af0ac647a /lib/mpi/mpi-sub-ui.c
parent1b9c918318476b4441ddd754ee6699b5367bb5ee (diff)
mm: multi-gen LRU: move lru_gen_add_mm() out of IRQ-off region
lru_gen_add_mm() has been added within an IRQ-off region in the commit mentioned below. The other invocations of lru_gen_add_mm() are not within an IRQ-off region. The invocation within IRQ-off region is problematic on PREEMPT_RT because the function is using a spin_lock_t which must not be used within IRQ-disabled regions. The other invocations of lru_gen_add_mm() occur while task_struct::alloc_lock is acquired. Move lru_gen_add_mm() after interrupts are enabled and before task_unlock(). Link: https://lkml.kernel.org/r/[email protected] Fixes: bd74fdaea1460 ("mm: multi-gen LRU: support page table walks") Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Acked-by: Yu Zhao <[email protected]> Cc: Al Viro <[email protected]> Cc: "Eric W . Biederman" <[email protected]> Cc: Kees Cook <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions