mm: Don't skip arch_sync_kernel_mappings() in error paths
Fix callers that previously skipped calling arch_sync_kernel_mappings() if an error occurred during a pgtable update. The call is still required to sync any pgtable updates that may have occurred prior to hitting the error condition. These are theoretical bugs discovered during code review. Cc: stable@vger.kernel.org Fixes: 2ba3e694 ("mm/vmalloc: track which page-table levels were modified") Fixes: 0c95cba4 ("mm: apply_to_pte_range warn and fail if a large pte is encountered") Reviewed-by:Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by:
Ryan Roberts <ryan.roberts@arm.com>
Loading
Please register or sign in to comment