[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <57AA936E.3080503@huawei.com>
Date: Wed, 10 Aug 2016 10:37:34 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid
unnecessary loop.
On 2016/8/10 7:29, Andrew Morton wrote:
> On Fri, 5 Aug 2016 22:04:07 +0800 zhongjiang <zhongjiang@...wei.com> wrote:
>
>> when required_kernelcore decrease to zero, we should exit the loop in time.
>> because It will waste time to scan the remainder node.
> The patch is rather ugly and it only affects __init code, so the only
> benefit will be to boot time.
yes
> Do we have any timing measurements which would justify changing this code?
I am sorry for that. That is a only theoretical analysis.
>
Powered by blists - more mailing lists