From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751253AbdEBNFR (ORCPT ); Tue, 2 May 2017 09:05:17 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35356 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892AbdEBNFP (ORCPT ); Tue, 2 May 2017 09:05:15 -0400 From: Wei Yang To: kirill@shutemov.name, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, tj@kernel.org, rientjes@google.com Cc: linux-kernel@vger.kernel.org, Wei Yang Subject: [PATCH V2 0/3] Refine numa_emulation Date: Tue, 2 May 2017 21:04:50 +0800 Message-Id: <20170502130453.5933-1-richard.weiyang@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org My previous patch "x86/mm/numa: Remove numa_nodemask_from_meminfo()" hits a problem in numa_emulation. The reason is numa_nodes_parsed is not set correctly after emulation. This patch set tries to fix this and also with two code refine. Detailed discussions are in this thread: https://lkml.org/lkml/2017/3/13/1230 and test result is posted : https://lkml.org/lkml/2017/4/10/641 V2: * refresh the change log based on David comments * use nodes_clear() Wei Yang (3): x86/numa_emulation: fix potential memory leak x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed x86/numa_emulation: restructures numa_nodes_parsed from emulated nodes arch/x86/mm/numa_emulation.c | 61 ++++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 28 deletions(-) -- 2.11.0