mm: thp: Revert "mm, thp: preventing hugepage creation for read-write file pages" 73/270673/3 submit/tizen/20220208.074352
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 8 Feb 2022 07:16:00 +0000 (08:16 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 8 Feb 2022 07:28:32 +0000 (07:28 +0000)
commit9a65983eeb1440def5b344462b2b4108b5f143a8
tree6d00568dc0bd000eea5dd085248d1499f6fd68ce
parentd7fe4191b4dd1e6f2108727831864c7989235aec
mm: thp: Revert "mm, thp: preventing hugepage creation for read-write file pages"

Once the issue with modified read-only files has been fixed by the commit
"mm: thp: avoid mapping a 64kB THP when anonymous COW-ed pages exist",
this workaround is no longer needed.

This reverts commit bca41ebfc598858807071491cdb85f61773d8a77.

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