Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459181

Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid unnecessary loop.

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid unnecessary loop.
Date 2016-08-10 01:30 +0200
Message-ID <s4oD8-5EB-31@gated-at.bofh.it> (permalink)
References <s2NZ0-7N-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 5 Aug 2016 22:04:07 +0800 zhongjiang <zhongjiang@huawei.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.

Do we have any timing measurements which would justify changing this code?

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid unnecessary loop. zhongjiang <zhongjiang@huawei.com> - 2016-08-05 16:10 +0200
  Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid  unnecessary loop. zhong jiang <zhongjiang@huawei.com> - 2016-08-09 14:30 +0200
  Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid  unnecessary loop. Andrew Morton <akpm@linux-foundation.org> - 2016-08-10 01:30 +0200
    Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid  unnecessary loop. zhong jiang <zhongjiang@huawei.com> - 2016-08-10 04:40 +0200

csiph-web