Re: [RFC PATCH 03/15] nohz_task: Make tick stop and restartcallable outside idle

From: Peter Zijlstra
Date: Mon Dec 20 2010 - 10:49:11 EST


On Mon, 2010-12-20 at 16:24 +0100, Frederic Weisbecker wrote:
> + if (!current->pid)

I'm not exactly sure that's the sanest way to test if you're the idle
thread...
--
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/