From: Heiko Carstens Date: Wed, 17 Oct 2012 10:18:05 +0000 (+0200) Subject: s390/mm,vmemmap: use 1MB frames for vmemmap X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~29^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7817968d03df390d77d3af1b13298efa4f31047;p=pandora-kernel.git s390/mm,vmemmap: use 1MB frames for vmemmap Use 1MB frames for vmemmap if EDAT1 is available in order to reduce TLB pressure Always use a 1MB frame even if its only partially needed for struct pages. Otherwise we would end up with a mix of large frame and page mappings, because vmemmap_populate gets called for each section (256MB -> 3.5MB memmap) separately. Worst case is that we would waste 512KB. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed