On Wed, Aug 14, 2024 at 04:44:24PM +0100, Matthew Wilcox (Oracle) wrote: Hi Matthew, > I believe the test for PageDirty() is no longer needed. The > commit adding it was abf09bed3cce with the rationale that this > avoided faults for tmpfs and shmem pages. shmem does not mark > newly allocated folios as dirty since 2016 (commit 75edd345e8ed) > so this test has been ineffective since then. We will investigate if that is really safe thing to do. Some people on vacation, so we might be not too quick with the response. > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > --- > arch/s390/include/asm/pgtable.h | 11 ----------- > 1 file changed, 11 deletions(-) ... Thanks!