[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87muvhwja2.fsf@e105922-lin.cambridge.arm.com>
Date: Tue, 26 Jun 2018 18:27:01 +0100
From: Punit Agrawal <punit.agrawal@....com>
To: Jonathan Cameron <jonathan.cameron@...wei.com>
Cc: Michal Hocko <mhocko@...nel.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Catalin Marinas <catalin.marinas@....com>,
<tnowicki@...iumnetworks.com>, Xie XiuQi <xiexiuqi@...wei.com>,
<linux-pci@...r.kernel.org>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Will Deacon <will.deacon@....com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
<linux-mm@...ck.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Bjorn Helgaas <helgaas@...nel.org>,
linux-arm <linux-arm-kernel@...ts.infradead.org>,
Hanjun Guo <guohanjun@...wei.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
zhongjiang <zhongjiang@...wei.com>, <wanghuiqiang@...wei.com>
Subject: Re: [PATCH 1/2] arm64: avoid alloc memory on offline node
Jonathan Cameron <jonathan.cameron@...wei.com> writes:
[...]
>
> I'll test it when back in the office, but I had a similar issue with
> memory only nodes when I moved the SRAT listing for cpus from the 4
> 4th mode to the 3rd node to fake some memory I could hot unplug.
> This gave a memory only node for the last node on the system.
>
> When I instead moved cpus from the 3rd node to the 4th (so the node
> with only memory was now in the middle, everything worked).
>
> Was odd, and I'd been meaning to chase it down but hadn't gotten to it
> yet. If I get time I'll put together some test firmwares as see if there
> are any other nasty corner cases we aren't handling.
If you get a chance, it'd be really helpful to test reversing the
ordering of entries in the SRAT and booting with a restricted
NR_CPUS.
This issue was found through code inspection.
Please make sure to use the updated patch from Lorenzo for your
tests[0].
[0] https://marc.info/?l=linux-acpi&m=152998665713983&w=2
>
> Jonathan
>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@...ts.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Powered by blists - more mailing lists