mirror-linux/arch/microblaze
Thomas Gleixner 99d2592023 rseq: Implement sys_rseq_slice_yield()
Provide a new syscall which has the only purpose to yield the CPU after the
kernel granted a time slice extension.

sched_yield() is not suitable for that because it unconditionally
schedules, but the end of the time slice extension is not required to
schedule when the task was already preempted. This also allows to have a
strict check for termination to catch user space invoking random syscalls
including sched_yield() from a time slice extension region.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251215155708.929634896@linutronix.de
2026-01-22 11:11:17 +01:00
..
boot kbuild: unify cmd_copy and cmd_shipped 2022-02-14 10:37:32 +09:00
configs Use CONFIG_EXT4_FS instead of CONFIG_EXT3_FS in all of the defconfigs 2025-10-13 21:50:40 -04:00
include assorted dead code removal around asm/pgtable.h 2025-10-03 11:37:50 -07:00
kernel rseq: Implement sys_rseq_slice_yield() 2026-01-22 11:11:17 +01:00
lib microblaze: fix typos in comments 2022-05-02 08:36:10 +02:00
mm mm: call ctor/dtor for kernel PTEs 2025-05-11 17:48:21 -07:00
pci microblaze/PCI: Moving PCI iounmap and dependent code 2022-11-25 11:39:23 +01:00
Kbuild
Kconfig tracing: Remove redundant config HAVE_FTRACE_MCOUNT_RECORD 2025-07-22 20:15:56 -04:00
Kconfig.debug
Kconfig.platform microblaze: fix typos in Kconfig 2025-09-12 13:12:41 +02:00
Makefile kbuild: fix "cat: .version: No such file or directory" 2022-11-24 09:26:02 +09:00