Monday, February 21, 2011

Why is setscheduler not forcing need resched

I noticed that in Linux kernel 2.4 setscheduler doesn't force need_resched. Why is that? is it just some convention, or does that happens somewhere else?

From stackoverflow
  • need_resched is invoked elsewhere in the system.

    The scheduler is markedly different in modern 2.6 kernels, and by many accounts much better. I personally wouldn't dive too deep into 2.4 unless its for historical curiosity.

0 comments:

Post a Comment