Re: [patch V6 10/11] entry: Hook up rseq time slice extension
From: Mathieu Desnoyers
Date: Tue Dec 16 2025 - 11:02:52 EST
On 2025-12-15 13:24, Thomas Gleixner wrote:
Wire the grant decision function up in exit_to_user_mode_loop()[...]
+/* TIF bits, which prevent a time slice extension. */
+#ifdef CONFIG_PREEMPT_RT
+# define TIF_SLICE_EXT_SCHED (_TIF_NEED_RESCHED_LAZY)
+#else
+# define TIF_SLICE_EXT_SCHED (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)
It would be relevant to explain the difference between RT and non-RT
in the commit message.
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com