Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261322AbUDHBNK (ORCPT ); Wed, 7 Apr 2004 21:13:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261378AbUDHBNK (ORCPT ); Wed, 7 Apr 2004 21:13:10 -0400 Received: from gate.crashing.org ([63.228.1.57]:31673 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S261322AbUDHBNH (ORCPT ); Wed, 7 Apr 2004 21:13:07 -0400 Subject: Re: RFC: COW for hugepages From: Benjamin Herrenschmidt To: Andi Kleen Cc: David Gibson , Andrew Morton , Linux Kernel list , Anton Blanchard , Paul Mackerras , linuxppc64-dev In-Reply-To: <20040407143447.4d8f08af.ak@suse.de> References: <20040407074239.GG18264@zax> <20040407143447.4d8f08af.ak@suse.de> Content-Type: text/plain Message-Id: <1081386710.1401.86.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 08 Apr 2004 11:11:51 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 23 > Implementing this for ppc64 only is just wrong. Before you do this > I would suggest to factor out the common code in the various hugetlbpage > implementations and then implement it in common code. Have you actually looked at it and how huge pages are implemented on the various architectures ? Honestly, I don't think we have any common abstraction on things like hugepte's etc... actually, archs aren't even required to use PTEs at all. I don't see how we can make that code arch-neutral, at least not without a major redesign of the whole large pages mecanism. Ben. - 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/