Re: [PATCH v4 sched_ext/for-7.3 11/40] sched_ext: Add ops.init_cids() to finalize the cid layout before init
Tejun Heo <[email protected]>
| Newsgroups | dev.linux.lists.sched-ext,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 08 Jul 2026 21:54:31 +0000, [email protected] wrote: > - [High] scx_bpf_cid_override() partially mutates global CID topology > mapping tables on failure, leaving them in a corrupted state. Not in the current form: the kfunc validates the entire snapshot first so that invalid input leaves the globals untouched, and no abort path exists once the write loop begins, so a half-written mapping can't occur. It's also only callable from init_cids, before any scheduling reader exists. No change. Thanks. -- tejun