diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-07-21 11:59:51 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-07-27 12:32:29 +0200 |
commit | 6eb82f9940267d3af260989d077a2833f588beae (patch) | |
tree | bbeb2b40c522f162f51e8739da46cbc973973589 /include/net/net_failover.h | |
parent | 92ed301919932f777713b9172e525674157e983d (diff) |
x86/mm: Pre-allocate P4D/PUD pages for vmalloc area
Pre-allocate the page-table pages for the vmalloc area at the level
which needs synchronization on x86-64, which is P4D for 5-level and
PUD for 4-level paging.
Doing this at boot makes sure no synchronization of that area is
necessary at runtime. The synchronization takes the pgd_lock and
iterates over all page-tables in the system, so it can take quite long
and is better avoided.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/20200721095953.6218-2-joro@8bytes.org
Diffstat (limited to 'include/net/net_failover.h')
0 files changed, 0 insertions, 0 deletions