Skip to content
Commit 94815705 authored by Ryan Roberts's avatar Ryan Roberts
Browse files

mm: vmalloc must set pte via arch code



It is bad practice to directly set pte entries within a pte table.
Instead all modifications must go through arch-provided helpers such as
set_pte_at() to give the arch code visibility and allow it to check
(and potentially modify) the operation.

Fixes: 3e9a9e25 ("mm: add a vmap_pfn function")
Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
Reviewed-by: default avatarZi Yan <ziy@nvidia.com>
Acked-by: default avatarLorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarUladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
parent 7877cb91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment