Re: [PATCH] genirq: call cancel_work_sync from irq_set_affinity_notifier

2019-03-21 Thread Sodagudi Prasad
On 2019-03-21 09:19, Thomas Gleixner wrote: Prasad, On Wed, 20 Mar 2019, Prasad Sodagudi wrote: Subject: [PATCH] genirq: call cancel_work_sync from irq_set_affinity_notifier Please do not decribe WHAT the code change is. Give a consice explanation WHY this change is done. The above is like

Re: [PATCH] genirq: call cancel_work_sync from irq_set_affinity_notifier

2019-03-21 Thread Thomas Gleixner
Prasad, On Wed, 20 Mar 2019, Prasad Sodagudi wrote: > Subject: [PATCH] genirq: call cancel_work_sync from irq_set_affinity_notifier Please do not decribe WHAT the code change is. Give a consice explanation WHY this change is done. The above is like '[PATCH] foo: Increment bar by 5

[PATCH] genirq: call cancel_work_sync from irq_set_affinity_notifier

2019-03-20 Thread Prasad Sodagudi
When ever notification of IRQ affinity changes, call cancel_work_sync from irq_set_affinity_notifier to cancel all pending works to avoid work list corruption. Signed-off-by: Prasad Sodagudi --- kernel/irq/manage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/irq/manage.c b/kern