[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1338905159.28282.186.camel@twins>
Date: Tue, 05 Jun 2012 16:05:59 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Rusty Russell <rusty@...tcorp.com.au>,
Fenghua Yu <fenghua.yu@...el.com>, Ingo Molnar <mingo@...e.hu>,
H Peter Anvin <hpa@...or.com>,
Suresh B Siddha <suresh.b.siddha@...el.com>,
Tony Luck <tony.luck@...el.com>,
Asit K Mallick <asit.k.mallick@...el.com>,
Arjan Dan De Ven <arjan@...ux.intel.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
x86 <x86@...nel.org>, linux-pm <linux-pm@...r.kernel.org>,
"Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>
Subject: Re: [PATCH] kthread: Implement park/unpark facility
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists