[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1199906905.9834.101.camel@localhost>
Date:	Wed, 09 Jan 2008 11:28:24 -0800
From:	Dave Hansen <haveblue@...ibm.com>
To:	travis@....com
Cc:	Andrew Morton <akpm@...ux-foundation.org>, mingo@...e.hu,
	Andi Kleen <ak@...e.de>, Christoph Lameter <clameter@....com>,
	Jack Steiner <steiner@....com>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Rusty Russell <rusty@...tcorp.com.au>, tglx@...utronix.de,
	mingo@...hat.com
Subject: Re: [PATCH 10/10] x86: Unify percpu.h
On Tue, 2008-01-08 at 13:10 -0800, travis@....com wrote:
> Form a single percpu.h from percpu_32.h and percpu_64.h. Both are now pretty
> small so this is simply adding them together. 
I guess I just don't really see the point of moving the code around like
this.  Before, it would have been easier to tell at a glance before
whether you were looking at 32 or 64-bit code because of which file you
are in.  But, now, you need to look for #ifdef context.  I'm not sure
that's a win.
This only saves 5 net lines of code, and those are probably from:
-#ifndef __ARCH_I386_PERCPU__
-#define __ARCH_I386_PERCPU__
right?
The rest of the set looks brilliant, though.  
-- Dave
--
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