[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ca7199a4-5628-425f-8f0b-8e8123b431b8@gmail.com>
Date: Fri, 25 Aug 2023 15:31:45 +0800
From: Vern Hao <haoxing990@...il.com>
To: David Hildenbrand <david@...hat.com>, akpm@...ux-foundation.org
Cc: zhaoyang.huang@...soc.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Vern Hao <vernhao@...cent.com>
Subject: Re: [PATCH] mm/vmscan: Use folio_migratetype() instead of
get_pageblock_migratetype()
在 2023/8/25 15:12, David Hildenbrand 写道:
> On 25.08.23 06:08, Vern Hao wrote:
>> From: Vern Hao <vernhao@...cent.com>
>>
>> In skip_cma(), we can use folio_migratetype() to replace
>> get_pageblock_migratetype().
>>
>> Fixes: 5da226dbfce3 ("mm: skip CMA pages when they are not available")
>
> Why did you think "Fixes" was a good idea?
>
The skip_cma() contains the folio argument, and the folio_migratetype()
is already implemented in the kernel, so I think it's fine to keep it
consistent.
Thanks!
Powered by blists - more mailing lists