Re: [RFC PATCH] membarrier: handle nohz_full with expedited thread registration

From: Steven Rostedt
Date: Tue Jan 17 2017 - 18:35:21 EST


On Tue, 17 Jan 2017 21:56:38 +0000 (UTC)
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:

> One goal here is to ensure we don't disturb threads that do not wish to receive
> those IPIs, so holding the rq lock while we send the IPI still seems to be safer.

What type of IPI is being sent? Be careful because IPIs can take the rq
lock, and if you are expecting the IPI to finish while holding the rq
lock you may introduce a deadlock.

-- Steve