sched, x86: Update the comment for TIF_NEED_RESCHED_LAZY.
PATCH 1/1 sched, x86: Update the comment for TIF_NEED_RESCHED_LAZY.
Add the "Lazy" part to the comment for TIF_NEED_RESCHED_LAZY so it is not the same as TIF_NEED_RESCHED.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
--- arch/x86/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/thread_info.h +1 -1
@@ -87,7 +87,7 @@ struct thread_info {#define TIF_NOTIFY_RESUME 1/* callback before returning to user */ #define TIF_SIGPENDING 2/* signal pending */ #define TIF_NEED_RESCHED 3/* rescheduling necessary */ -#define TIF_NEED_RESCHED_LAZY 4/* rescheduling necessary */ +#define TIF_NEED_RESCHED_LAZY 4/* Lazy rescheduling needed */ #define TIF_SINGLESTEP 5/* reenable singlestep on user return*/ #define TIF_SSBD 6/* Speculative store bypass disable */ #define TIF_SPEC_IB 9/* Indirect branch speculation mitigation */
Signature · 1 line
2.45.2
Quoted 2 lines · Sebastian Andrzej Siewior
Add the "Lazy" part to the comment for
TIF_NEED_RESCHED_LAZYso it is not the same asTIF_NEED_RESCHED.
But it is lazy to copy/paste and not bother with comments, right? :-)
Thanks!
Quoted 21 lines
Signed-off-by Sebastian Andrzej Siewior <[email protected]>--- arch/x86/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/include/asm/thread_info.h +1
-1@@ -87,7 +87,7 @@ struct thread_info {#define TIF_NOTIFY_RESUME 1/* callback before returning to user */ #define TIF_SIGPENDING 2/* signal pending */ #define TIF_NEED_RESCHED 3/* rescheduling necessary */ -#define TIF_NEED_RESCHED_LAZY 4/* rescheduling necessary */ +#define TIF_NEED_RESCHED_LAZY 4/* Lazy rescheduling needed */ #define TIF_SINGLESTEP 5/* reenable singlestep on user return*/ #define TIF_SSBD 6/* Speculative store bypass disable */ #define TIF_SPEC_IB 9/* Indirect branch speculation mitigation */ Signature · 1 line
2.45.2
The following commit has been merged into the sched/core branch of tip:
The following commit has been merged into the sched/core branch of tip:
Commit-ID: 771d271b2b908cf660d6789bb4355ed553250edc Gitweb: https://git.kernel.org/tip/771d271b2b908cf660d6789bb4355ed553250edc Author: Sebastian Andrzej Siewior <[email protected]> AuthorDate: Wed, 06 Nov 2024 17:24:49 +01:00 Committer: Peter Zijlstra <[email protected]> CommitterDate: Mon, 11 Nov 2024 11:49:45 +01:00
sched, x86: Update the comment for TIF_NEED_RESCHED_LAZY.
Add the "Lazy" part to the comment for TIF_NEED_RESCHED_LAZY so it is not the same as TIF_NEED_RESCHED.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
Signed-off-by Peter Zijlstra (Intel) <[email protected]>
--- arch/x86/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/thread_info.h +1 -1
@@ -87,7 +87,7 @@ struct thread_info {#define TIF_NOTIFY_RESUME 1/* callback before returning to user */ #define TIF_SIGPENDING 2/* signal pending */ #define TIF_NEED_RESCHED 3/* rescheduling necessary */ -#define TIF_NEED_RESCHED_LAZY 4/* rescheduling necessary */ +#define TIF_NEED_RESCHED_LAZY 4/* Lazy rescheduling needed */ #define TIF_SINGLESTEP 5/* reenable singlestep on user return*/ #define TIF_SSBD 6/* Speculative store bypass disable */ #define TIF_SPEC_IB 9/* Indirect branch speculation mitigation */