[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140509091214.GM30445@twins.programming.kicks-ass.net>
Date: Fri, 9 May 2014 11:12:14 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Kirill Tkhai <tkhai@...dex.ru>
Cc: linux-kernel@...r.kernel.org, fweisbec@...il.com, mingo@...nel.org
Subject: Re: [PATCH] sched,nohz: Change rq->nr_running always using wrappers
On Fri, May 09, 2014 at 03:00:14AM +0400, Kirill Tkhai wrote:
> Sometimes nr_running may cross 2 but interrupt is not being
> sent to rq's cpu. In this case we don't reenable timer.
> Looks like, this may be a reason of rare unexpected effects,
> if nohz is enabled.
>
> Patch replaces all places of direct changing of nr_running
> and makes add_nr_running() caring about crossing border.
>
> Signed-off-by: Kirill Tkhai <tkhai@...dex.ru>
> CC: Frederic Weisbecker <fweisbec@...il.com>
> CC: Peter Zijlstra <peterz@...radead.org>
> CC: Ingo Molnar <mingo@...nel.org>
Thanks!
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists