Re: [PATCH 2/3] x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed

2017-05-02 Thread Wei Yang
On Mon, May 01, 2017 at 02:37:06PM -0700, David Rientjes wrote: >On Tue, 11 Apr 2017, Wei Yang wrote: > >> On Mon, Apr 10, 2017 at 05:26:03PM -0700, David Rientjes wrote: >> >On Tue, 11 Apr 2017, Wei Yang wrote: >> > >> >> According to current code path, numa_nodes_parsed is already setup when >> >

Re: [PATCH 2/3] x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed

2017-05-01 Thread David Rientjes
On Tue, 11 Apr 2017, Wei Yang wrote: > On Mon, Apr 10, 2017 at 05:26:03PM -0700, David Rientjes wrote: > >On Tue, 11 Apr 2017, Wei Yang wrote: > > > >> According to current code path, numa_nodes_parsed is already setup when > >> numa_emucation() is called. > >> > >> x86_numa_init() > >>

Re: [PATCH 2/3] x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed

2017-04-10 Thread Wei Yang
On Mon, Apr 10, 2017 at 05:26:03PM -0700, David Rientjes wrote: >On Tue, 11 Apr 2017, Wei Yang wrote: > >> According to current code path, numa_nodes_parsed is already setup when >> numa_emucation() is called. >> >> x86_numa_init() >> numa_init() >> init_func() >> >>

Re: [PATCH 2/3] x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed

2017-04-10 Thread David Rientjes
On Tue, 11 Apr 2017, Wei Yang wrote: > According to current code path, numa_nodes_parsed is already setup when > numa_emucation() is called. > > x86_numa_init() > numa_init() > init_func() > > numa_emulation() > > numa_register_memblks() > s/numa_emu

[PATCH 2/3] x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsed

2017-04-10 Thread Wei Yang
According to current code path, numa_nodes_parsed is already setup when numa_emucation() is called. x86_numa_init() numa_init() init_func() numa_emulation() numa_register_memblks() This means we can get the physnode_mask directly from numa_nodes_p