Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751390AbVKEAqO (ORCPT ); Fri, 4 Nov 2005 19:46:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751393AbVKEAqO (ORCPT ); Fri, 4 Nov 2005 19:46:14 -0500 Received: from gate.crashing.org ([63.228.1.57]:65235 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S1751390AbVKEAqN (ORCPT ); Fri, 4 Nov 2005 19:46:13 -0500 Subject: Re: [PATCH] ppc64: 64K pages support From: Benjamin Herrenschmidt To: Christoph Hellwig Cc: Andrew Morton , linuxppc64-dev , Linus Torvalds , Linux Kernel list , linux-mm@kvack.org In-Reply-To: <20051105003819.GA11505@lst.de> References: <1130915220.20136.14.camel@gaston> <1130916198.20136.17.camel@gaston> <20051105003819.GA11505@lst.de> Content-Type: text/plain Date: Sat, 05 Nov 2005 11:44:47 +1100 Message-Id: <1131151488.29195.46.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 19 On Sat, 2005-11-05 at 01:38 +0100, Christoph Hellwig wrote: > So how does the 64k on 4k hardware emulation work? When Hugh did > bigger softpagesize for x86 based on 2.4.x he had to fix drivers all > over to deal with that. What was the problem with drivers ? On ppc64, it's all hidden in the arch code. All the kernel sees is a 64k page size. I extended the PTE to contain tracking informations for the 16 sub pages (HPTE bits & hash slot index). Sub pages are faulted on demand and flushed all at once, but it's all transparent to the generic code. 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/