summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorBalbir Singh <sblbir@amazon.com>2021-01-08 23:10:53 +1100
committerThomas Gleixner <tglx@linutronix.de>2021-07-28 11:42:24 +0200
commit371b09c6fdc436f2c7bb67fc90df5eec8ce90f06 (patch)
tree949e5b76dda3e20cbc5eceadbadaf9476aeda12c /include/linux/sched.h
parentc52787b590634646d4da3d8f23c4532ba050d40d (diff)
downloadlwn-371b09c6fdc436f2c7bb67fc90df5eec8ce90f06.tar.gz
lwn-371b09c6fdc436f2c7bb67fc90df5eec8ce90f06.zip
x86/mm: Refactor cond_ibpb() to support other use cases
cond_ibpb() has the necessary bits required to track the previous mm in switch_mm_irqs_off(). This can be reused for other use cases like L1D flushing on context switch. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Balbir Singh <sblbir@amazon.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210108121056.21940-3-sblbir@amazon.com
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions