Skip to content

genirq: Fix IRQ threads VS cpuset

Frederic Weisbecker cgroups lkml 2 versions – Applied

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

  1. v3 Latest3 patches 7 repliesApplied
  2. v12 patches 12 repliesApplied

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 filesSizeRepliesApplied
1/3genirq: Prevent from early irq thread spurious wake-upskernel/irq/handle.c+9 -12 replies
2/3genirq: Fix interrupt threads affinity vs. cpuset isolated partitionskernel/irq/manage.c+15 -86 replies
3/3genirq: Remove cpumask availability check on kthread affinity settingkernel/irq/manage.c+4 -130 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchThomas GleixnerWaiman LongMarek SzyprowskiFrederic Weisbecker
SeriesT-b
1/3Not-yet-Signed-off-by
2/3A-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.

Read the v3 thread

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