genirq: Fix IRQ threads VS cpuset
Status from this message: The following commit has been merged into the irq/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Changes in v3 from the cover letter
* Fix early spurious IRQ thread wake-up (to be SOB'ed by Thomas)
* Instead of applying the affinity remotely, set PF_NO_SETAFFINITY early, right after kthread creation, and wait for the thread to apply the affinity by itself. This is to prevent from early wake-up to mess up with kthread_bind_mask(), as reported by Marek Szyprowski <[email protected]>
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | genirq: Prevent from early irq thread spurious wake-upskernel/ | +9 | 2 replies | |
| 2/3 | genirq: Fix interrupt threads affinity vs. cpuset isolated partitionskernel/ | +15 | 6 replies | |
| 3/3 | genirq: Remove cpumask availability check on kthread affinity settingkernel/ | +4 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Thomas Gleixner | Waiman Long | Marek Szyprowski | Frederic Weisbecker |
|---|---|---|---|---|
| Series | T-b | |||
| 1/3 | Not-yet-Signed-off-by | |||
| 2/3 | A-b | A-b | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/3 v3] genirq: Fix IRQ threads VS cpuset
Hi,
Here is another take after some last minutes issues reported by Marek Szyprowski <[email protected]>:
https://lore.kernel.org/all/[email protected]/
Changes since v2:
* Fix early spurious IRQ thread wake-up (to be SOB'ed by Thomas)
* Instead of applying the affinity remotely, set PF_NO_SETAFFINITY early, right after kthread creation, and wait for the thread to apply the affinity by itself. This is to prevent from early wake-up to mess up with kthread_bind_mask(), as reported by Marek Szyprowski <[email protected]>
Frederic Weisbecker (2):
genirq: Fix interrupt threads affinity vs. cpuset isolated partitions
genirq: Remove cpumask availability check on kthread affinity setting
Thomas Gleixner (1):
genirq: Prevent from early irq thread spurious wake-ups
kernel/irq/handle.c | 10 +++++++++- kernel/irq/manage.c | 40 +++++++++++++++++++--------------------- 2 files changed, 28 insertions(+), 22 deletions(-)
Signature · 1 line
2.51.1