unable to set smp_affinity of PCIe interrupt

Mulyadi Santosa mulyadi.santosa at gmail.com
Fri May 10 02:02:39 EDT 2013


On Wed, May 8, 2013 at 7:05 PM, Amit Mahadik <amitmahadik35 at yahoo.com> wrote:
> Hello,
>       Following is the output of cat /proc/interrupts
>
>            CPU0       CPU1       CPU2
>
> 200:       9634          0          0  PCIe0-MSI  eth0
>
> I want to change the processor affinity of the above PCIe interrupt
>
> By executing command echo 2 > /proc/irq/200/smp_affinity I get the following
> error
>
> sh: write error: Input/output error
>
> Even after changing the file permissions I have the same problem.

AFAIK, even if you change that file's permission, actually it stays
the same. So you need to switch into root or use sudo to change the
affinity


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list