diff options
author | Ard Biesheuvel | 2016-07-22 19:32:25 +0200 |
---|---|---|
committer | Catalin Marinas | 2016-07-25 18:43:36 +0200 |
commit | 1378dc3d4ba07ccd295b04ef59e943162531ad25 (patch) | |
tree | 1402ecdd8b25915aad4a252845d84b1dc75eed66 /net/ipv4/gre_demux.c | |
parent | arm64: mm: make create_mapping_late() non-allocating (diff) | |
download | kernel-qcow2-linux-1378dc3d4ba07ccd295b04ef59e943162531ad25.tar.gz kernel-qcow2-linux-1378dc3d4ba07ccd295b04ef59e943162531ad25.tar.xz kernel-qcow2-linux-1378dc3d4ba07ccd295b04ef59e943162531ad25.zip |
arm64: mm: run pgtable_page_ctor() on non-swapper translation table pages
The kernel page table creation routines are accessible to other subsystems
(e.g., EFI) via the create_pgd_mapping() entry point, which allows mappings
to be created that are not covered by init_mm.
Since generic code such as apply_to_page_range() may expect translation
table pages that are not associated with init_mm to be covered by fully
constructed struct pages, add a call to pgtable_page_ctor() in the alloc
function used by create_pgd_mapping. Since it is no longer used by
create_mapping_late(), also update the name of this function to better
reflect its purpose.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'net/ipv4/gre_demux.c')
0 files changed, 0 insertions, 0 deletions