cvs commit: src/sys/kern sched_ule.c

George V. Neville-Neil gnn at neville-neil.com
Mon Dec 13 18:10:09 PST 2004


At Mon, 13 Dec 2004 17:13:36 -0500 (EST),
Jeff Roberson wrote:
> If you really have to have the flexibility to do some other method of
> concurrency, I suggest we make a table of operations for a process to call
> to schedule a thread.  That would mean calling setrunqueue(),
> choosethread(), adjustrunqueue(), and maybe_preempt() through indirect
> pointers.  This would mean we could use much simpler versions of these
> functions for single threaded programs as well, which would likely reduce
> cpu overhead.
> 

As a quick aside, I'd love to see something like this.  It could make
doing a real time FreeBSD much easier.

Later,
George


More information about the freebsd-current mailing list