Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752693Ab2FEOGP (ORCPT ); Tue, 5 Jun 2012 10:06:15 -0400 Received: from merlin.infradead.org ([205.233.59.134]:50855 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751490Ab2FEOGN convert rfc822-to-8bit (ORCPT ); Tue, 5 Jun 2012 10:06:13 -0400 Message-ID: <1338905159.28282.186.camel@twins> Subject: Re: [PATCH] kthread: Implement park/unpark facility From: Peter Zijlstra To: Thomas Gleixner Cc: Rusty Russell , Fenghua Yu , Ingo Molnar , H Peter Anvin , Suresh B Siddha , Tony Luck , Asit K Mallick , Arjan Dan De Ven , linux-kernel , x86 , linux-pm , "Srivatsa S. Bhat" Date: Tue, 05 Jun 2012 16:05:59 +0200 In-Reply-To: References: <1338833876-29721-1-git-send-email-fenghua.yu@intel.com> <1338842001.28282.135.camel@twins> <87zk8iioam.fsf@rustcorp.com.au> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 604 Lines: 16 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/