Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751122AbWHaVDY (ORCPT ); Thu, 31 Aug 2006 17:03:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751148AbWHaVDY (ORCPT ); Thu, 31 Aug 2006 17:03:24 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:48618 "EHLO e5.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1751022AbWHaVDX (ORCPT ); Thu, 31 Aug 2006 17:03:23 -0400 Subject: Re: [RFC][PATCH 0/9] generic PAGE_SIZE infrastructure (v4) From: Dave Hansen To: Paul Mackerras Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org In-Reply-To: <17654.11889.933070.539839@cargo.ozlabs.ibm.com> References: <20060830221604.E7320C0F@localhost.localdomain> <17654.11889.933070.539839@cargo.ozlabs.ibm.com> Content-Type: text/plain Date: Thu, 31 Aug 2006 14:03:12 -0700 Message-Id: <1157058192.28577.33.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 26 On Thu, 2006-08-31 at 10:33 +1000, Paul Mackerras wrote: > Dave Hansen writes: > > Why am I doing this? The OpenVZ beancounter patch hooks into the > > alloc_thread_info() path, but only in two architectures. It is silly > > to patch each and every architecture when they all just do the same > > thing. This is the first step to have a single place in which to > > do alloc_thread_info(). Oh, and this series removes about 300 lines > > of code. > > ... at the price of making the Kconfig help text more generic and > therefore possibly confusing on some platforms. > > I really don't see much value in doing all this. The value for me is that this makes it much easier to add generic kernel features. There have been way too many times that I've made some arch-independent change which required going and fixing up the *same* code in every single architecture. -- Dave - 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/