[PATCH v12 02/11] mm/page_table_check: Reinstate address parameter in [__]page_table_check_pmd_set()

Pasha Tatashin pasha.tatashin at soleen.com
Wed Apr 3 16:19:07 PDT 2024


On Tue, Apr 2, 2024 at 1:13 AM Rohan McLure <rmclure at linux.ibm.com> wrote:
>
> This reverts commit a3b837130b58 ("mm/page_table_check: remove unused
> parameter in [__]page_table_check_pmd_set").
>
> Reinstate previously unused parameters for the purpose of supporting
> powerpc platforms, as many do not encode user/kernel ownership of the
> page in the pte, but instead in the address of the access.
>
> riscv: Respect change to delete mm, addr parameters from __set_pte_at()
>
> This commit also changed calls to __set_pte_at() to use fewer parameters
> on riscv. Keep that change rather than reverting it, as the signature of
> __set_pte_at() is changed in a different commit.
>
> Signed-off-by: Rohan McLure <rmclure at linux.ibm.com>

Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>



More information about the linux-arm-kernel mailing list