[PATCH 0/2] fix two bugs for file THP

From: Rongwei Wang
Date: Mon Oct 25 2021 - 05:21:50 EST


Patch 1/2 had been sent about weeks ago, the original
link here:
https://patchwork.kernel.org/project/linux-mm/patch/20211011022241.97072-2-rongwei.wang@xxxxxxxxxxxxxxxxx/
It seems to be ignored, and send out again here.

Patch 2/2 is sent out first time. And Patch 1/2 and
2/2 both to fix different bugs for commit
eb6ecbed0aa2 ("mm, thp: relax the VM_DENYWRITE constraint on file-backed
THPs").

In addition, I find the stable version (I had check 5.14) has contained
above commit (eb6ecbed0aa2), so I will add "cc stable mail list"
when sending Patches.

Thanks!

Rongwei Wang (2):
mm, thp: lock filemap when truncating page cache
mm, thp: fix incorrect unmap behavior for private pages

fs/open.c | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

--
2.27.0