Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751534AbaLRRZw (ORCPT ); Thu, 18 Dec 2014 12:25:52 -0500 Received: from terminus.zytor.com ([198.137.202.10]:35806 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbaLRRZv (ORCPT ); Thu, 18 Dec 2014 12:25:51 -0500 Message-ID: <54930E14.30800@zytor.com> Date: Thu, 18 Dec 2014 09:25:40 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Fenghua Yu , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Glenn Williamson CC: linux-kernel , x86 Subject: Re: [PATCH v2] X86-32: Allocate 256 bytes for pgd in PAE paging References: <1418852859-18852-1-git-send-email-fenghua.yu@intel.com> In-Reply-To: <1418852859-18852-1-git-send-email-fenghua.yu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/17/2014 01:47 PM, Fenghua Yu wrote: > From: Fenghua Yu > > X86 32-bit machine and kernel use PAE paging, which currently wastes about > 4K of memory per process on Linux where we have to reserve an entire page to > support a single 256-byte PGD structure. It would be a very good thing if > we could eliminate that wastage. > 4*8 = 32 bytes, where did 256 bytes come from? -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/