Public bug reported:

[Impact]

noble patchset 2024-09-30 (
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2083196 ) caused
conflicts and compilation failures with PREEMPT_RT.

[Fix]

One conflict was caused by 2fd5ad3f310de22836cdacae919dd99d758a1f1b ("perf: Fix 
event leak upon exit"). This was fixed by moving from the v3 version of the 
"perf/sigtrap" patchset from PREEMPT_RT 6.8.2-rt11 to the final version of the 
patchset that made it into 6.11. This final "perf/sigtrap" patchset from 
mainline 6.11 included the following commits, which applied cleanly:
2b84def990d388bed4afe4f21ae383a01991046c perf: Split __perf_pending_irq() out 
of perf_pending_irq()
16b9569df9d2ab07eeee075cb7895e9d3e08e8f0 perf: Don't disable preemption in 
perf_pending_task().
0d40a6d83e3e6751f1107ba33587262d937c969f perf: Move swevent_htable::recursion 
into task_struct.
5af42f928f3ac555c228740fb4a92d05b19fdd49 perf: Shrink the size of the recursion 
counter.
c5d93d23a26012a98b77f9e354ab9b3afd420059 perf: Enqueue SIGTRAP always via 
task_work.
466e4d801cd438a1ab2c8a2cce1bef6b65c31bbb task_work: Add TWA_NMI_CURRENT as an 
additional notify mode.
058244c683111d44a5de16ac74f19a1754dd7a0c perf: Move irq_work_queue() where the 
event is prepared.

The other issue was a compilation failure due to f70405afc99b1
("locking: Add rwsem_assert_held() and rwsem_assert_held_write()"). This
was fixed by the fix commit from 6.9,
fa1f51162338b3e2f520d4bfedc42b3b2e00da6d ("locking: Make
rwsem_assert_held_write_nolockdep() build with PREEMPT_RT=y").

[Test Case]

Compile and boot test.

[Where things could go wrong]

If there are patches these depend on that are missed, it could cause
performance/latency regressions.

** Affects: ubuntu-realtime
     Importance: Undecided
         Status: New

** Affects: linux-realtime (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-realtime (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: linux-realtime (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-realtime (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2089700

Title:
  Fix PREEMPT_RT conflicts caused by 2024-09-30 noble patchset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-realtime/+bug/2089700/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to