On Apr 22, 2007, at 11:30 AM, Bert Wesarg wrote:
> 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.
Can you describe what this function does?
> 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.
Mm... good point. How does one harness hotplugging? Is there a way
to know that information has changed such that we need to refresh the
cache?
(this would have impact on the threading scheme, too)
--
Jeff Squyres
Cisco Systems
|