Re: [PATCH 1/1] mm: restore full accuracy in COW page reuse

2021-01-11 Thread Kirill A. Shutemov
On Sat, Jan 09, 2021 at 09:54:05PM -0500, Andrea Arcangeli wrote: > Hello, > > On Sat, Jan 09, 2021 at 07:44:35PM -0500, Andrea Arcangeli wrote: > > allowing a child to corrupt memory in the parent. That's a problem > > that could happen not-maliciously too. So the scenario described > > I update

Re: [PATCH 1/1] mm: restore full accuracy in COW page reuse

2021-01-09 Thread Andrea Arcangeli
Hello, On Sat, Jan 09, 2021 at 07:44:35PM -0500, Andrea Arcangeli wrote: > allowing a child to corrupt memory in the parent. That's a problem > that could happen not-maliciously too. So the scenario described I updated the above partly quoted sentence since in the previous version it didn't have

[PATCH 1/1] mm: restore full accuracy in COW page reuse

2021-01-09 Thread Andrea Arcangeli
This reverts commit 09854ba94c6aad7886996bfbee2530b3d8a7f4f4. This reverts commit be068f29034fb00530a053d18b8cf140c32b12b3. This reverts commit 1a0cf26323c80e2f1c58fc04f15686de61bfab0c. This example below uses O_DIRECT, on a process under clear_refs. There's no FOLL_LONGTERM involvement. All GUP p