[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+8MBbJNxxbp7ogChM11KwPYReuCsPDe0sxbpkge16UqVUdjFA@mail.gmail.com>
Date: Tue, 25 Aug 2015 15:06:31 -0700
From: Tony Luck <tony.luck@...il.com>
To: Yinghai Lu <yinghai@...nel.org>
Cc: Daniel J Blueman <daniel@...ascale.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"the arch/x86 maintainers" <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
Steffen Persvold <sp@...ascale.com>
Subject: Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems
On Tue, Aug 25, 2015 at 12:01 PM, Yinghai Lu <yinghai@...nel.org> wrote:
>> It does ... but this (attached) is simpler. Your patch and mine both
>> allow the system to boot ...
>
> The version that fix with section_nr present checking may save couple thousands
> calling to get_nid_for_pfn(). section size / page_size = 128M/4k = 32k
Actually saves about 1.2 million calls. Your patch wins :-)
Reported-and-tested-by: Tony Luck <tony.luck@...el.com>
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists