On Fri, Jan 26, 2024 at 02:28:56PM +0100, Christoph Hellwig wrote: > + if (folio_test_hwpoison(folio) || > + (folio_test_large(folio) && > + folio_test_has_hwpoisoned(folio))) { I need to put in a helper for this. I'm seeing this pattern crop up in a few places and I don't like it.