Re: [PATCH 7.2 v2 02/12] mm/khugepaged: add folio dirty check after try_to_unmap_flush()

Matthew Wilcox
2026-04-13T20:23:53Z

On Mon, Apr 13, 2026 at 03:20:20PM -0400, Zi Yan wrote:
> + if (!is_shmem && (folio_test_dirty(folio))) {

seems like a spurious pair of brackets?

if (!is_shmem && folio_test_dirty(folio)) {

should be fine