summaryrefslogtreecommitdiff
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-08-25 18:41:28 +0200
committerThomas Gleixner <tglx@linutronix.de>2022-09-19 14:35:08 +0200
commite575d401583273a7ac5dfb27520e41c821e81816 (patch)
treefb16171bc6e879d5986c9b9eb634508dc4843cb4 /mm/Kconfig
parenta738e9bad6030d4fd33bfd7db3399a250b7e94d8 (diff)
mm/memcontrol: Replace the PREEMPT_RT conditionals
Use VM_WARN_ON_IRQS_ENABLED() and preempt_disable/enable_nested() to replace the CONFIG_PREEMPT_RT #ifdeffery. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Michal Hocko <mhocko@suse.com> Link: https://lore.kernel.org/r/20220825164131.402717-6-bigeasy@linutronix.de
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions