> > Best Regards,
> > Jiafei.
> >
> > -Original Message-
> > From: Jiafei Pan
> > Sent: Thursday, August 6, 2020 12:07 PM
> > To: pet...@infradead.org; mi...@kernel.org; t...@linutronix.de;
> > rost...@goodmis.org; romain.per...@
> From: Peter Zijlstra
> Sent: Thursday, August 13, 2020 1:58 PM
>
> On Thu, Aug 06, 2020 at 12:07:29PM +0800, Jiafei Pan wrote:
> > __raise_softirq_irqoff will update per-CPU mask of pending softirqs,
> > it need to be called in irq disabled context in order to keep it
> > atomic operation,
On Fri, 14 Aug 2020 02:21:25 +
Jiafei Pan wrote:
> > This is probably more for Thomas Gleixner.
> Thanks Steven.
> @Thomas Gleixner, would you please review the patch? thanks.
> Jiafei.
I believe he already did.
-- Steve
st 6, 2020 12:07 PM
> To: pet...@infradead.org; mi...@kernel.org; t...@linutronix.de;
> rost...@goodmis.org; romain.per...@gmail.com; w...@kernel.org
> Cc: linux-kernel@vger.kernel.org; linux-rt-us...@vger.kernel.org;
> Jiafei Pan ; Leo Li ; Vladimir
> Oltean ; Jiafei Pan
> S
> rost...@goodmis.org; romain.per...@gmail.com; w...@kernel.org
> Cc: linux-kernel@vger.kernel.org; linux-rt-us...@vger.kernel.org; Jiafei Pan
> ; Leo Li ; Vladimir Oltean
> ; Jiafei Pan
> Subject: [PATCH] softirq: add irq off checking for __raise_softirq_irqoff
>
> __raise_softirq_irqo
Jiafei Pan writes:
> __raise_softirq_irqoff will update per-CPU mask of pending softirqs,
Please write __raise_softirq_irqoff() so it's clear that this is about a
function.
> void __raise_softirq_irqoff(unsigned int nr)
> {
> + /* This function can only be called in irq disabled context,
On Thu, Aug 06, 2020 at 12:07:29PM +0800, Jiafei Pan wrote:
> __raise_softirq_irqoff will update per-CPU mask of pending softirqs,
> it need to be called in irq disabled context in order to keep it atomic
> operation, otherwise it will be interrupted by hardware interrupt,
> and per-CPU softirqs
...@infradead.org; mi...@kernel.org; t...@linutronix.de;
rost...@goodmis.org; romain.per...@gmail.com; w...@kernel.org
Cc: linux-kernel@vger.kernel.org; linux-rt-us...@vger.kernel.org; Jiafei Pan
; Leo Li ; Vladimir Oltean
; Jiafei Pan
Subject: [PATCH] softirq: add irq off checking
__raise_softirq_irqoff will update per-CPU mask of pending softirqs,
it need to be called in irq disabled context in order to keep it atomic
operation, otherwise it will be interrupted by hardware interrupt,
and per-CPU softirqs pending mask will be corrupted, the result is
there will be
9 matches
Mail list logo