sched_ule: roundrobin_callout replacement ?

Andriy Gapon avg at icyb.net.ua
Mon Feb 18 15:25:17 UTC 2008


I see that sched_4bsd has a NOP callout with a purpose of forcing a
context switch (via softclock), so that something like a preemption
could happen (e.g. for threads in a tight calculation loop).
What serves the similar purpose for sched_ule?
Or, how sched_ule deals with the issue without needing softclock's help?

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list