[PATCH v3] mm/userfaultfd: fix memory corruption due to writeprotect

2021-03-03 Thread Nadav Amit
From: Nadav Amit Userfaultfd self-test fails occasionally, indicating a memory corruption. Analyzing this problem indicates that there is a real bug since mmap_lock is only taken for read in mwriteprotect_range() and defers flushes, and since there is insufficient consideration of concurrent def

Re: [PATCH v3] mm/userfaultfd: fix memory corruption due to writeprotect

2021-03-03 Thread Nadav Amit
> On Mar 3, 2021, at 1:51 AM, Nadav Amit wrote: > > From: Nadav Amit > > Userfaultfd self-test fails occasionally, indicating a memory > corruption. Please ignore - I will resend. signature.asc Description: Message signed with OpenPGP