Fawzi Mohamed, le Sun 27 Sep 2009 15:26:40 +0200, a écrit :
> thanks for the quick answers, so I think that the answer is for now
> you can on linux 2.6 if you use cpusets.
Yes, cpusets are supported IIRC.
> >>>I've wondered how to implement topology changes indeed. AIX does
> >>>have a SIGRECONFIG signal for this, I don't know any support from
> >>>other OSes.
> >>Maybe there's a inotify way to get such changes in Linux.
> >There is usually no inotify support for virtual files. I've
> >just tested that it doesn't work for /sys/bus/usb/devices for
> >instance. We'll have to ask kernel developers for it.
> ok just as information osx has such a callback if possible it would be
> nice to have such functionality abstracted away...
Do you know how it is called?
(problem with macosx is that it doesn't support processor binding