public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET sched_ext/for-7.1] sched_ext: Fix kobject and cgroup ref error handling in scx_alloc_and_add_sched()
@ 2026-03-16  5:43 Tejun Heo
  2026-03-16  5:43 ` [PATCH 1/2] sched_ext: Fix cgroup double-put on sub-sched abort path Tejun Heo
  2026-03-16  5:43 ` [PATCH 2/2] sched_ext: Use kobject_put() for kobject_init_and_add() failure in scx_alloc_and_add_sched() Tejun Heo
  0 siblings, 2 replies; 6+ messages in thread
From: Tejun Heo @ 2026-03-16  5:43 UTC (permalink / raw)
  To: David Vernet, Andrea Righi, Changwoo Min
  Cc: David Carlier, Emil Tsalapatis, sched-ext, linux-kernel,
	Tejun Heo

Hello,

Fix error handling bugs in scx_alloc_and_add_sched():

 0001 sched_ext: Fix cgroup double-put on sub-sched abort path
 0002 sched_ext: Use kobject_put() for kobject_init_and_add() failure in scx_alloc_and_add_sched()

Based on sched_ext/for-7.1 (f96bc0fa92be).

 kernel/sched/ext.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)

--
tejun

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-16  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16  5:43 [PATCHSET sched_ext/for-7.1] sched_ext: Fix kobject and cgroup ref error handling in scx_alloc_and_add_sched() Tejun Heo
2026-03-16  5:43 ` [PATCH 1/2] sched_ext: Fix cgroup double-put on sub-sched abort path Tejun Heo
2026-03-16  6:11   ` Andrea Righi
2026-03-16  9:31   ` Tejun Heo
2026-03-16  5:43 ` [PATCH 2/2] sched_ext: Use kobject_put() for kobject_init_and_add() failure in scx_alloc_and_add_sched() Tejun Heo
2026-03-16  6:13   ` Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox