Re: idle threads

2010-04-23 Thread Attilio Rao
2010/4/24 Matthew Fleming matthew.flem...@isilon.com: I'm looking at kern_idle.c in stable/7 and I don't quite follow how idle threads work.  The kthread_create(9) call does not pass in a function pointer, so what code does a processor run when there is no other runnable thread? In STABLE_7:

RE: idle threads

2010-04-23 Thread Matthew Fleming
then they rightly passes sched_idletd(). Any scheduler may define its own version of sched_idletd(). Oops, youre right, I was just unable to read at the end of the day on Friday. Thanks! matthew ___ freebsd-hackers@freebsd.org mailing list