Re: [patch 12/19] softirq: Add RT specific softirq accounting
From: Frederic Weisbecker <frederic@kernel.org>
Date: 2020-11-19 12:18:28
Also in:
linux-sh, linux-um, lkml
From: Frederic Weisbecker <frederic@kernel.org>
Date: 2020-11-19 12:18:28
Also in:
linux-sh, linux-um, lkml
On Fri, Nov 13, 2020 at 03:02:19PM +0100, Thomas Gleixner wrote:
RT requires the softirq to be preemptible and uses a per CPU local lock to protect BH disabled sections and softirq processing. Therefore RT cannot use the preempt counter to keep track of BH disabled/serving. Add a RT only counter to task struct and adjust the relevant macros in preempt.h.
You may want to describe a bit the reason for this per task counter. It's not intuitive at this stage. Thanks. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel