Re: [PATCH v3 2/5] sched_ext: Manage the validity of scx_rq_clock
From: Tejun Heo
Date: Tue Dec 03 2024 - 18:28:53 EST
Hello,
On Tue, Dec 03, 2024 at 11:27:59PM +0900, Changwoo Min wrote:
> An rq clock becomes valid when it is updated using update_rq_clock()
> and invalidated when the rq is unlocked using rq_unpin_lock(). Also,
> after long-running operations -- ops.running() and ops.update_idle() --
> in a BPF scheduler, the sched_ext core invalidates the rq clock.
Hmm... why are ops.running() or ops.update_idle() special? ie. How does
sched_ext core determine what are long-running and what are not.
Thanks.
--
tejun