Re: [RFC PATCH 10/15] nohz_task: Enter in extended quiescent statewhen in userspace

From: Peter Zijlstra
Date: Mon Dec 20 2010 - 11:19:12 EST


On Mon, 2010-12-20 at 16:24 +0100, Frederic Weisbecker wrote:
> (we check if the local cpu is in nohz mode, which means
> no other task compete on that CPU)

You keep repeating that definition, but its not true.. It means there is
not work for the tick to do, the tick does _tons_ more besides
preemption, so nr_running==1 is necessary but not sufficient.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/