mm: thp: fix split_huge_pte() operation on non-THP aligned address
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 9 Nov 2021 14:34:52 +0000 (15:34 +0100)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000 (17:01 +0900)
commite7c4d7dd3693056f83e8a1126847514c92873c57
tree877fab3209d8f58da30c6e36f53855d44ed5ea55
parentaa6f643e3f57bd2bf4aba313b2108c10e45e1fa9
mm: thp: fix split_huge_pte() operation on non-THP aligned address

When split_huge_pte() has been called on the address, which is not THP
aligned, the pte ptr should also be adjusted to the beginning of the THP
page.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Idf1ddf95b3f5a5a790fd2b0eb85ac4c22e561a48
arch/arm64/mm/huge_memory.c