Thread (40 messages) 40 messages, 7 authors, 2021-01-01

Re: [patch 14/19] softirq: Make softirq control and processing RT aware

From: Thomas Gleixner <hidden>
Date: 2020-11-24 00:22:40
Also in: linux-sh, linux-um, lkml

Frederic,

On Tue, Nov 24 2020 at 01:13, Frederic Weisbecker wrote:
On Tue, Nov 24, 2020 at 01:06:15AM +0100, Thomas Gleixner wrote:
quoted
Good point. Haven't thought about that. Let me have a look again.
But I'm cooking a patchset which moves account_irq_enter_time() after
HARDIRQ_OFFSET or SOFTIRQ_OFFSET is incremented. This will allow us to move
tick_irq_enter() under this layout:

		 preempt_count_add(HARDIRQ_OFFSET)
		 lockdep_hardirq_enter()
		 tick_irq_enter()
		 account_irq_enter_time()

This way tick_irq_enter() can be correctly handled by lockdep and we can remove
the nasty hack which temporarily disables softirqs around it.

And as a side effect it should also fix your issue.

I should have that ready soonish.
Sounds to good to be true :)

Looking forward to it!

Thanks for taking care of that!

       tglx

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help