Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932431Ab1C3Lqd (ORCPT ); Wed, 30 Mar 2011 07:46:33 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46936 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755728Ab1C3Lqc (ORCPT ); Wed, 30 Mar 2011 07:46:32 -0400 Message-ID: <4D931814.9090100@suse.cz> Date: Wed, 30 Mar 2011 13:46:28 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 MIME-Version: 1.0 To: Peter Zijlstra Cc: Lai Jiangshan , "H. Peter Anvin" , paulmck@linux.vnet.ibm.com, Jan Beulich , Ingo Molnar , Alexander van Heukelum , Dipankar Sarma , Andrew Morton , Sam Ravnborg , David Howells , Oleg Nesterov , Roland McGrath , Serge Hallyn , linux-kernel@vger.kernel.org, Thomas Gleixner , Steven Rostedt Subject: Re: [RFC PATCH 4/5] RCU: Add TASK_RCU_OFFSET References: <4D8FF9BC.7050609@cn.fujitsu.com> <4D90647902000078000389CB@vpn.id2.novell.com> <4D924BAF.1020906@linux.intel.com> <20110329213130.GK2261@linux.vnet.ibm.com> <4D924FEE.8040804@linux.intel.com> <20110329214704.GM2261@linux.vnet.ibm.com> <4D9256AF.5000308@linux.intel.com> <20110330004725.GO2261@linux.vnet.ibm.com> <4D92BECA.50802@cn.fujitsu.com> <4D92DA32.2010809@cn.fujitsu.com> <20110330105505.GA3195@sepie.suse.cz> <1301482656.4859.171.camel@twins> In-Reply-To: <1301482656.4859.171.camel@twins> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 20 On 30.3.2011 12:57, Peter Zijlstra wrote: > On Wed, 2011-03-30 at 12:55 +0200, Michal Marek wrote: >> Subject: [PATCH] headers: Allow for lightweight inclusion of task_struct definition >> >> Factor out a couple of type definitions to
_types.h to allow >> using task_struct without pulling tons of new dependencies via sched.h. > > Urgh, not pretty.. so why not clean up sched.h properly? There's way too > much cruft in there. It was a proof-of-concept to show that it is doable to have proper definition of task_struct in rcupdate.h. Not an entry for any code beauty contest. Michal -- 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/