Re: is minimum udelay() not respected in preemptible SMP kernel-2.6.23?

Matt Mackall
2007-11-08T02:47:55Z

On Thu, Nov 08, 2007 at 02:20:58AM +0100, Andi Kleen wrote:
>
> > But I think we'd be best off stashing a single bit somewhere and
> > checking it at migrate time (relatively infrequent) rather than
> > copying and zeroing out a potentially enormous affinity mask every
> > time we disable migration (often, and in fast paths). Perhaps adding
> > TASK_PINNED to the task state flags would do it?
>
> It would need to be a count to be able to nest it.

Ahh, right. Suppose that means fattening the task struct until someone
comes up with something more clever.

--
Mathematics is the supreme nostalgia of our time.