Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/thp: use the correct function when updating access flags
We should use pmdp_set_access_flags to update access flags. Archs like powerpc use extra checks(_PAGE_BUSY) when updating a hugepage PTE. A set_pmd_at doesn't do those checks. We should use set_pmd_at only when updating a none hugepage PTE. Signed-off-by: Aneesh Kumar K.V <[email protected]> Cc: Andrea Arcangeli <[email protected]>a Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
- Loading branch information