[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9e91ca1d-dccb-4bf6-a3b9-9f19c482d6a0@vivo.com>
Date: Tue, 9 Jul 2024 20:34:20 +0800
From: zhiguojiang <justinjiang@...o.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Barry Song <baohua@...nel.org>,
David Hildenbrand <david@...hat.com>, opensource.kernel@...o.com
Subject: Re: [PATCH v6] mm: shrink skip folio mapped by an exiting process
在 2024/7/9 19:49, Matthew Wilcox 写道:
> On Tue, Jul 09, 2024 at 12:10:50PM +0800, Zhiguo Jiang wrote:
>> + if ((!atomic_read(&vma->vm_mm->mm_users) ||
>> + check_stable_address_space(vma->vm_mm)) &&
>> + folio_test_swapbacked(folio) &&
>> + !folio_likely_mapped_shared(folio)) {
>> + pra->referenced = -1;
>> + page_vma_mapped_walk_done(&pvmw);
>> + return false;
>> + }
> You told me you'd fix the indentation. You cannot indent both the
> continuation lines of the condition and the body of the if by one tab
> each!
Thank you for pointing out this indentation issue again. It has been
modified in patch v7.
Powered by blists - more mailing lists