diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches-rt/0147-irqtime-Make-accounting-correct-on-RT.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/0147-irqtime-Make-accounting-correct-on-RT.patch b/debian/patches-rt/0147-irqtime-Make-accounting-correct-on-RT.patch index 576b5391b..b90ebcabb 100644 --- a/debian/patches-rt/0147-irqtime-Make-accounting-correct-on-RT.patch +++ b/debian/patches-rt/0147-irqtime-Make-accounting-correct-on-RT.patch @@ -1,8 +1,8 @@ -From a4b2fa58f0b8dabae3f30be80fe317da32c5b121 Mon Sep 17 00:00:00 2001 +From 154fd3270e388ac08741e499a2ed6a776060199d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner <tglx@linutronix.de> Date: Tue, 9 Mar 2021 09:55:54 +0100 Subject: [PATCH 147/323] irqtime: Make accounting correct on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.204-rt100.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz vtime_account_irq and irqtime_account_irq() base checks on preempt_count() which fails on RT because preempt_count() does not contain the softirq @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c -index 02a7932c7383..02a5aa60fe7e 100644 +index 02a7932c73838..02a5aa60fe7e5 100644 --- a/kernel/sched/cputime.c +++ b/kernel/sched/cputime.c @@ -60,7 +60,7 @@ void irqtime_account_irq(struct task_struct *curr, unsigned int offset) @@ -50,5 +50,5 @@ index 02a7932c7383..02a5aa60fe7e 100644 if (pc & HARDIRQ_OFFSET) { vtime_account_hardirq(tsk); -- -2.43.0 +2.44.0 |