Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758623AbYCYXAN (ORCPT ); Tue, 25 Mar 2008 19:00:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757889AbYCYW75 (ORCPT ); Tue, 25 Mar 2008 18:59:57 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40929 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753847AbYCYW75 (ORCPT ); Tue, 25 Mar 2008 18:59:57 -0400 Message-ID: <47E983E3.4050806@zytor.com> Date: Tue, 25 Mar 2008 15:59:47 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: "J.C. Pizarro" CC: LKML Subject: Re: What means Hugepage? 8KiB,16KiB,..,2MiB or 4MiB? References: <998d0e4a0803251503v7bf20ad4ndb0e21b1eead7f9d@mail.gmail.com> In-Reply-To: <998d0e4a0803251503v7bf20ad4ndb0e21b1eead7f9d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 23 J.C. Pizarro wrote: > What means Hugepage? > > Does it mean 8KiB? 16KiB? 32KiB? 64KiB? 2MiB? 4MiB? > > The real page sizes of x86 and x86-64 are 4 KiB for this linux kernel. > > But the page sizes can be soft 8 KiB or 16 KiB or 32 KiB or 64 KiB > if it is implemented in the memory manager of the kernel. > > But too they exist real page sizes of 2 MiB and 4 MiB that they have > some reserved entries of TLB in the specs of Intel/AMD processors > for these gigant pages. On x86, it means 2/4 MiB, or even 1 GiB in some very strange circumstances. Other architectures might be different. -hpa -- 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/