From: Heiko Carstens Date: Sat, 16 Feb 2013 11:42:35 +0000 (+0100) Subject: s390/mm: ignore change bit for vmemmap X-Git-Tag: v3.9-rc1~5^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17ea345a474925ad0da2ad5a8791cd5443301667;p=thirdparty%2Fkernel%2Flinux.git s390/mm: ignore change bit for vmemmap Add hint to the page tables that we don't care about the change bit in storage keys that belong to vmemmap pages. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index e21aaf4f5cb6a..ffab84db69071 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c @@ -236,7 +236,8 @@ int __meminit vmemmap_populate(struct page *start, unsigned long nr, int node) if (!new_page) goto out; pmd_val(*pm_dir) = __pa(new_page) | - _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE; + _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE | + _SEGMENT_ENTRY_CO; address = (address + PMD_SIZE) & PMD_MASK; continue; }