Re: [PATCH] secretmem: Conert page_is_secretmem() to folio_is_secretmem()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux