diff options
author | Jan Beulich <JBeulich@suse.com> | 2018-02-19 07:48:11 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-02-20 09:33:39 +0100 |
commit | 842cef9113c2120f74f645111ded1e020193d84c (patch) | |
tree | 0a0f84ab1e1905f9b3e7149fb5f19c3ff3c28ede /arch/x86/mm/fault.c | |
parent | ced5d0bf603fa0baee8ea889e1d70971fd210894 (diff) | |
download | op-kernel-dev-842cef9113c2120f74f645111ded1e020193d84c.zip op-kernel-dev-842cef9113c2120f74f645111ded1e020193d84c.tar.gz |
x86/mm: Fix {pmd,pud}_{set,clear}_flags()
Just like pte_{set,clear}_flags() their PMD and PUD counterparts should
not do any address translation. This was outright wrong under Xen
(causing a dead boot with no useful output on "suitable" systems), and
produced needlessly more complicated code (even if just slightly) when
paravirt was enabled.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/5A8AF1BB02000078001A91C3@prv-mh.provo.novell.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions