Re: [PATCH] kthread: Implement park/unpark facility

From: Peter Zijlstra
Date: Tue Jun 05 2012 - 10:06:08 EST


On Tue, 2012-06-05 at 15:41 +0200, Thomas Gleixner wrote:
> struct kthread {
> - int should_stop;
> + bool should_stop;
> + bool should_park;
> + bool is_parked;
> + bool is_percpu;

bool doesn't have a well specified storage type. I typically try to
avoid using it in structures for this reason. Others might not care
though.
--
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/