On Mon, Jan 30, 2023 at 02:26:20PM -1000, Tejun Heo wrote: > However, the BPF scheduler is free to dispatch whatever tasks anytime (e.g. > scx_example_central), so it's possible that a task with an earlier timestamp > has been dispatched to the local DSQ since curr started executing, in which > case we likely want to return the first on DSQ as the CPU's candidate. Okay, a more common case would be when a CPU is forced to run a task which isn't current by its sibling winning a different cookie and then the BPF scheduler putting that task right back on the local DSQ. For the CPU then, the right candidate would be the first task on DSQ not the current running one which is dragged forward because the sibling trumping us. Thanks. -- tejun