Hello,
Jeff Squyres wrote:
> On Apr 21, 2007, at 1:41 PM, Bert Wesarg wrote:
>
> It is certainly not too late to change the API.
>
Hmm, than its possibly not too late to think about an API addition of an
interface to the linux getcpu[1] syscall. This would be handy, I even
can't find it in the current glibc code base.
And one think that come up to me last night is cpu hotplugging!
For plpa-taskset this is not important, but for long running tasks this
may become important. So the cache needs some refreshment when a cpu goes
online/offline.
But thanks again.
Bert
[1]:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c08c820508233b424deab3302bc404bbecc6493a
|