File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ config X86
93
93
select ARCH_HAS_NMI_SAFE_THIS_CPU_OPS
94
94
select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
95
95
select ARCH_HAS_PMEM_API if X86_64
96
+ select ARCH_HAS_PREEMPT_LAZY
96
97
select ARCH_HAS_PTE_DEVMAP if X86_64
97
98
select ARCH_HAS_PTE_SPECIAL
98
99
select ARCH_HAS_HW_PTE_YOUNG
Original file line number Diff line number Diff line change @@ -87,8 +87,9 @@ struct thread_info {
87
87
#define TIF_NOTIFY_RESUME 1 /* callback before returning to user */
88
88
#define TIF_SIGPENDING 2 /* signal pending */
89
89
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
90
- #define TIF_SINGLESTEP 4 /* reenable singlestep on user return*/
91
- #define TIF_SSBD 5 /* Speculative store bypass disable */
90
+ #define TIF_NEED_RESCHED_LAZY 4 /* rescheduling necessary */
91
+ #define TIF_SINGLESTEP 5 /* reenable singlestep on user return*/
92
+ #define TIF_SSBD 6 /* Speculative store bypass disable */
92
93
#define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */
93
94
#define TIF_SPEC_L1D_FLUSH 10 /* Flush L1D on mm switches (processes) */
94
95
#define TIF_USER_RETURN_NOTIFY 11 /* notify kernel of userspace return */
@@ -110,6 +111,7 @@ struct thread_info {
110
111
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
111
112
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
112
113
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
114
+ #define _TIF_NEED_RESCHED_LAZY (1 << TIF_NEED_RESCHED_LAZY)
113
115
#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
114
116
#define _TIF_SSBD (1 << TIF_SSBD)
115
117
#define _TIF_SPEC_IB (1 << TIF_SPEC_IB)
You can’t perform that action at this time.
0 commit comments