[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c58c9574-6cb5-3ee9-ff95-5a0b02d1ad71@huawei.com>
Date: Fri, 9 Dec 2022 09:15:38 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Vishal Moola <vishal.moola@...il.com>
CC: <linux-mm@...ck.org>, Andrew Morton <akpm@...ux-foundation.org>,
"Matthew Wilcox (Oracle)" <willy@...radead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] mm: swap: Convert mark_page_lazyfree() to
mark_folio_lazyfree()
On 2022/12/9 5:32, Vishal Moola wrote:
> On Wed, Dec 07, 2022 at 10:34:31AM +0800, Kefeng Wang wrote:
>> @@ -402,7 +402,7 @@ extern void lru_add_drain_cpu(int cpu);
>> extern void lru_add_drain_cpu_zone(struct zone *zone);
>> extern void lru_add_drain_all(void);
>> extern void deactivate_page(struct page *page);
>> -extern void mark_page_lazyfree(struct page *page);
>> +extern void mark_folio_lazyfree(struct folio *folio);
>> extern void swap_setup(void);
> Can we rename this function to folio_mark_lazyfree() instead so it's more
> consistent with other the folio functions. Also I believe we can get rid of
> the 'extern' keyword.
ok, will change, thanks
Powered by blists - more mailing lists