All of lore.kernel.org
 help / color / mirror / Atom feed
From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: unable to set smp_affinity of PCIe interrupt
Date: Fri, 10 May 2013 13:02:39 +0700	[thread overview]
Message-ID: <CAGdaadY7BAjZBCxt5UBmSUBV9Y=_93ASK-wJwWPf9qBEYZBHGA@mail.gmail.com> (raw)
In-Reply-To: <1368014709.52476.YahooMailNeo@web125704.mail.ne1.yahoo.com>

On Wed, May 8, 2013 at 7:05 PM, Amit Mahadik <amitmahadik35@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

      reply	other threads:[~2013-05-10  6:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 12:05 unable to set smp_affinity of PCIe interrupt Amit Mahadik
2013-05-10  6:02 ` Mulyadi Santosa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGdaadY7BAjZBCxt5UBmSUBV9Y=_93ASK-wJwWPf9qBEYZBHGA@mail.gmail.com' \
    --to=mulyadi.santosa@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.