[EMAIL PROTECTED] wrote:

> Hi,
>
>  
>
> In a box with 2 CPUs, I am using RedHat kernel 2.4.7.
>
>  
>
> Qustions:
>
>  
>
> 1) Is it possible to enable/disable, by software means, a specific CPU 
> (cpu 0 | cpu 1) ?
>
> 2) While both CPUs are enabled, can we enforce a program to run ONLY 
> on a specific CPU ?
>
>  
>
> Thanks,
>
> Avi Koski
>
You can do it on sparc......

Sorry, couldn't resist.

Actually, what you can do on sparc is similar, but not exactly, what you 
were asking. You can select on how many concurent CPUs a multi-threaded 
program will run. I don't think you can ask it to return to the same CPU 
each time.

Why do you want to do this anyway?

            Shachar




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to