On Mon, Aug 21, 2023 at 05:32:50PM +0200, David Hildenbrand wrote: > > - if (PageCompound(page) || !PageLRU(page)) > > + if (folio_test_large(folio) || folio_test_lru(folio)) > > return false; > > You converted a "!PageLRU(page)" into a "folio_test_lru(folio)". > > Shouldn't that be a "!folio_test_lru(folio)" ? Well, that's embarrassing. Obviously I don't have any secretmem hardware, so my smoke-test didn't catch it. Thanks, will do a v2.