Re: [PATCH 7.2 v2 02/12] mm/khugepaged: add folio dirty check after try_to_unmap_flush()
From: Zi Yan
Date: Mon Apr 13 2026 - 16:31:12 EST
On 13 Apr 2026, at 16:23, Matthew Wilcox wrote:
> 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
Will remove them.
Best Regards,
Yan, Zi