Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681309

Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus
Date 2017-07-05 08:50 +0200
Message-ID <tZMil-2GU-3@gated-at.bofh.it> (permalink)
References <tzGUW-48t-7@gated-at.bofh.it> <tOK0y-1qd-19@gated-at.bofh.it> <tZa3s-2gz-117@gated-at.bofh.it> <tZrQC-5Zf-25@gated-at.bofh.it> <tZJaO-CS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 5 Jul 2017, Chen Yu wrote:
> On Tue, Jul 04, 2017 at 10:50:33AM +0200, Thomas Gleixner wrote:
> Here's the test result for affinity:
> # uname -r
> 4.12.0+
> # cat /proc/irq/32/smp_affinity
> 00000000,80000000
> # echo 0 > /sys/devices/system/cpu/cpu31/online 
> # cat /proc/irq/32/smp_affinity
> 00000000,ffffffff
> Looks like cpu31 is till included in the irq mask.

Yes, because the offline broke affinity and now it's reset to the default
affinity mask. /proc/irq/*/affinity is the affinity which is allowed by the
admin, not the one which is effective.

Look at /proc/irq/32/effective_affinity to see where it's really routed to.

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus Chen Yu <yu.c.chen@intel.com> - 2017-07-03 16:00 +0200
  Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus Thomas Gleixner <tglx@linutronix.de> - 2017-07-04 11:00 +0200
    Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus Chen Yu <yu.c.chen@intel.com> - 2017-07-05 05:30 +0200
      Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus Thomas Gleixner <tglx@linutronix.de> - 2017-07-05 08:50 +0200
        Re: [PATCH][RFC] x86: Fix the irq affinity in fixup_cpus Chen Yu <yu.c.chen@intel.com> - 2017-07-05 16:20 +0200

csiph-web