Re: latest linus-2.5 BK broken

Zwane Mwaikambo
2002-06-18T19:47:25Z

On Tue, 18 Jun 2002, Benjamin LaHaise wrote:

> > /* -1 = remove affinity */
> > sys_sched_setaffinity(pid_t pid, int cpu);
> >
> > This will work everywhere, and doesn't require userspace to know the
> > size of the cpu bitmask etc.
>
> That doesn't work. Think of SMT CPU pairs (aka HyperThreading) or
> quads that share caches.

Hmm i don't understand, mind explaining why it wouldn't work on HT?

Cheers,
Zwane Mwaikambo

--