Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sched_ext-for-6.12-rc7-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext

Pull sched_ext fix from Tejun Heo:
"One more fix for v6.12-rc7

ops.cpu_acquire() was being invoked with the wrong kfunc mask allowing
the operation to call kfuncs which shouldn't be allowed. Fix it by
using SCX_KF_REST instead, which is trivial and low risk"

* tag 'sched_ext-for-6.12-rc7-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
sched_ext: ops.cpu_acquire() should be called with SCX_KF_REST

+1 -1
+1 -1
kernel/sched/ext.c
··· 2645 2645 * emitted in scx_next_task_picked(). 2646 2646 */ 2647 2647 if (SCX_HAS_OP(cpu_acquire)) 2648 - SCX_CALL_OP(0, cpu_acquire, cpu_of(rq), NULL); 2648 + SCX_CALL_OP(SCX_KF_REST, cpu_acquire, cpu_of(rq), NULL); 2649 2649 rq->scx.cpu_released = false; 2650 2650 } 2651 2651