summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/TODO.openrisc
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2015-01-15 20:30:01 -0800
committerIngo Molnar <mingo@kernel.org>2015-02-19 01:28:38 +0100
commit1db491f77b6ed0f32f1d4a3ac40a5be9524f1914 (patch)
treec557ac214ef03fc4d7171244b11cb030bc4b7197 /arch/openrisc/TODO.openrisc
parente07e0d4cb0c4bfe822ec8491cc06269096a38bea (diff)
downloadtalos-op-linux-1db491f77b6ed0f32f1d4a3ac40a5be9524f1914.tar.gz
talos-op-linux-1db491f77b6ed0f32f1d4a3ac40a5be9524f1914.zip
x86/mm: Reduce PAE-mode per task pgd allocation overhead from 4K to 32 bytes
With more embedded systems emerging using Quark, among other things, 32-bit kernel matters again. 32-bit machine and kernel uses PAE paging, which currently wastes at least 4K of memory per process on Linux where we have to reserve an entire page to support a single 32-byte PGD structure. It would be a very good thing if we could eliminate that wastage. PAE paging is used to access more than 4GB memory on x86-32. And it is required for NX. In this patch, we still allocate one page for pgd for a Xen domain and 64-bit kernel because one page pgd is assumed in these cases. But we can save memory space by only allocating 32-byte pgd for 32-bit PAE kernel when it is not running as a Xen domain. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Christoph Lameter <cl@linux.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Glenn Williamson <glenn.p.williamson@intel.com> Cc: H. Peter Anvin <hpa@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1421382601-46912-1-git-send-email-fenghua.yu@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/openrisc/TODO.openrisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud