diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-05-24 05:24:47 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-05-24 05:24:47 +0300 |
commit | 3e2cbc016b1d08463925db9b9bd3bd253f64b8b0 (patch) | |
tree | f1bac77db344cc74382151e8c2a7a74085b98219 /include | |
parent | 916654201008d5fb4d5f5dcf0b373d291da615ac (diff) | |
parent | 0180a1e823d7c41d9a1c19f38e6069b38fe60c87 (diff) | |
download | linux-3e2cbc016b1d08463925db9b9bd3bd253f64b8b0.tar.xz |
Merge tag 'x86_splitlock_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 splitlock updates from Borislav Petkov:
- Add Raptor Lake to the set of CPU models which support splitlock
- Make life miserable for apps using split locks by slowing them down
considerably while the rest of the system remains responsive. The
hope is it will hurt more and people will really fix their misaligned
locks apps. As a result, free a TIF bit.
* tag 'x86_splitlock_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/split_lock: Enable the split lock feature on Raptor Lake
x86/split-lock: Remove unused TIF_SLD bit
x86/split_lock: Make life miserable for split lockers
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b3278f8184d5..6e6174dbf6e8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -941,6 +941,9 @@ struct task_struct { #ifdef CONFIG_IOMMU_SVA unsigned pasid_activated:1; #endif +#ifdef CONFIG_CPU_SUP_INTEL + unsigned reported_split_lock:1; +#endif unsigned long atomic_flags; /* Flags requiring atomic access. */ |