[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200701083839.19193-1-joro@8bytes.org>
Date: Wed, 1 Jul 2020 10:38:35 +0200
From: Joerg Roedel <joro@...tes.org>
To: x86@...nel.org
Cc: hpa@...or.com, Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>, joro@...tes.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: [PATCH v2 0/3] x86/mm/64: Remove vmalloc/ioremap pgtable synchronization
Hi,
here is a small patch-set to implement pre-allocation of the P4D/PUD
pages in the vmalloc/ioremap area of the address space. This allows to
remove the synchronization of these mappings for x86-64 and unexporting
the sync_global_pgds() function.
Please review.
Thanks,
Joerg
Changes to v1:
- Made failure at pre-allocation stage fatal
- As a consequence removed the arch_sync_kernel_mappings()
implementation for x86-64
- Unexported sync_global_pgds()
- Removed some left-over debug code from the first patch
Joerg Roedel (3):
x86/mm/64: Pre-allocate p4d/pud pages for vmalloc area
x86/mm/64: Do not sync vmalloc/ioremap mappings
x86/mm/64: Make sync_global_pgds() static
arch/x86/include/asm/pgtable_64.h | 2 -
arch/x86/include/asm/pgtable_64_types.h | 2 -
arch/x86/mm/init_64.c | 59 ++++++++++++++++++++++---
3 files changed, 53 insertions(+), 10 deletions(-)
--
2.17.1
Powered by blists - more mailing lists