[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1704101716160.116868@chino.kir.corp.google.com>
Date: Mon, 10 Apr 2017 17:16:32 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Wei Yang <richard.weiyang@...il.com>
cc: kirill@...temov.name, bp@...en8.de, tglx@...utronix.de,
mingo@...hat.com, hpa@...or.com, tj@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] x86/numa_emulation: fix potential memory leak
On Tue, 11 Apr 2017, Wei Yang wrote:
> numa_emulation() needs to allocate a space for phys_dist[] temporarily,
> while current code may miss to release this when dfl_phys_nid ==
> NUMA_NO_NODE. It is observed in code review instead of in a real case.
>
> This patch fixes this by re-order the code path.
>
> Signed-off-by: Wei Yang <richard.weiyang@...il.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists