lkml.org 
[lkml]   [2017]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] membarrier: handle nohz_full with expedited thread registration
On Tue, 17 Jan 2017 21:56:38 +0000 (UTC)
Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 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

\
 
 \ /
  Last update: 2017-01-18 00:36    [W:0.217 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site