RE: [PATCH v2] softirq: add irq off checking for __raise_softirq_irqoff

2020-09-09 Thread Jiafei Pan
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 v2] softirq: add irq off checking for __raise_softirq_irqoff > > __raise_softirq_irqoff() will update

[PATCH v2] softirq: add irq off checking for __raise_softirq_irqoff

2020-08-13 Thread Jiafei Pan
__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 unexpect