Re: [PATCH RFC 01/12] irq_work: Add support to detect if work is pending

2020-08-16 Thread Joel Fernandes
On Sat, Aug 15, 2020 at 10:13:30AM +0200, pet...@infradead.org wrote: > On Fri, Aug 14, 2020 at 11:18:57PM -0400, Joel Fernandes (Google) wrote: > > https://lkml.kernel.org/r/20200722153017.024407...@infradead.org Thank you, so that means I can drop this patch then. - Joel

Re: [PATCH RFC 01/12] irq_work: Add support to detect if work is pending

2020-08-15 Thread peterz
On Fri, Aug 14, 2020 at 11:18:57PM -0400, Joel Fernandes (Google) wrote: https://lkml.kernel.org/r/20200722153017.024407...@infradead.org

[PATCH RFC 01/12] irq_work: Add support to detect if work is pending

2020-08-15 Thread Joel Fernandes (Google)
When an unsafe region is entered on an HT, an IPI needs to be sent to siblings to ensure they enter the kernel. Following are the reasons why we would like to use irq_work to implement forcing of sibling into kernel mode: 1. Existing smp_call infrastructure cannot be used easily since we could