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.18-rc6-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext

Pull sched_ext fix from Tejun Heo:
"One low risk and obvious fix: scx_enable() was dereferencing an error
pointer on helper kthread creation failure. Fixed"

* tag 'sched_ext-for-6.18-rc6-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
sched_ext: Fix scx_enable() crash on helper kthread creation failure

+4 -1
+4 -1
kernel/sched/ext.c
··· 4479 4479 goto err_free_gdsqs; 4480 4480 4481 4481 sch->helper = kthread_run_worker(0, "sched_ext_helper"); 4482 - if (!sch->helper) 4482 + if (IS_ERR(sch->helper)) { 4483 + ret = PTR_ERR(sch->helper); 4483 4484 goto err_free_pcpu; 4485 + } 4486 + 4484 4487 sched_set_fifo(sch->helper->task); 4485 4488 4486 4489 atomic_set(&sch->exit_kind, SCX_EXIT_NONE);