lkml.org 
[lkml]   [2018]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [tip:irq/core] genirq/matrix: Improve target CPU selection for managed interrupts.
Date
From: Thomas Gleixner <tglx@linutronix.de>  Sent: Wednesday, November 7, 2018 12:23 PM
>
> There is another interesting property of managed interrupts vs. CPU
> hotplug. When the last CPU in the affinity mask goes offline, then the core
> code shuts down the interrupt and the device driver and related layers
> exclude the associated device queue from I/O. The same applies for CPUs
> which are not online when the device is initialized, i.e. if non of the
> CPUs is online then the interrupt is not started and the I/O queue stays
> disabled.
>
> When the first CPU in the mask comes online (again), then the interrupt is
> reenabled and the device driver and related layers reenable I/O on the
> associated device queue.
>

Thanks! The transition into and out of the situation when none of the CPUs
in the affinity mask are online is what I wasn't aware of. With that piece of
the puzzle, it all makes sense.

Michael

\
 
 \ /
  Last update: 2018-11-07 23:43    [W:0.054 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site