Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-03-13 Thread Wei Yang
On Mon, Mar 13, 2017 at 02:30:46PM +0100, Borislav Petkov wrote: >On Mon, Feb 06, 2017 at 11:35:29PM +0800, Wei Yang wrote: >> numa_nodemask_from_meminfo() is called to set bit according to >> numa_meminfo. While the only two places for this call is used to set proper >> bit to a copy of

Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-03-13 Thread Wei Yang
On Mon, Mar 13, 2017 at 02:30:46PM +0100, Borislav Petkov wrote: >On Mon, Feb 06, 2017 at 11:35:29PM +0800, Wei Yang wrote: >> numa_nodemask_from_meminfo() is called to set bit according to >> numa_meminfo. While the only two places for this call is used to set proper >> bit to a copy of

Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-03-13 Thread Borislav Petkov
On Mon, Feb 06, 2017 at 11:35:29PM +0800, Wei Yang wrote: > numa_nodemask_from_meminfo() is called to set bit according to > numa_meminfo. While the only two places for this call is used to set proper > bit to a copy of numa_nodes_parsed from numa_meminfo. With current code > path, those numa node

Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-03-13 Thread Borislav Petkov
On Mon, Feb 06, 2017 at 11:35:29PM +0800, Wei Yang wrote: > numa_nodemask_from_meminfo() is called to set bit according to > numa_meminfo. While the only two places for this call is used to set proper > bit to a copy of numa_nodes_parsed from numa_meminfo. With current code > path, those numa node

Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-02-17 Thread Wei Yang
Hi, Willing to hear from all of you :-) On Mon, Feb 6, 2017 at 11:35 PM, Wei Yang wrote: > numa_nodemask_from_meminfo() is called to set bit according to > numa_meminfo. While the only two places for this call is used to set proper > bit to a copy of numa_nodes_parsed

Re: [PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-02-17 Thread Wei Yang
Hi, Willing to hear from all of you :-) On Mon, Feb 6, 2017 at 11:35 PM, Wei Yang wrote: > numa_nodemask_from_meminfo() is called to set bit according to > numa_meminfo. While the only two places for this call is used to set proper > bit to a copy of numa_nodes_parsed from numa_meminfo. With

[PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-02-06 Thread Wei Yang
numa_nodemask_from_meminfo() is called to set bit according to numa_meminfo. While the only two places for this call is used to set proper bit to a copy of numa_nodes_parsed from numa_meminfo. With current code path, those numa node information in numa_meminfo is a subset of numa_nodes_parsed. So

[PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-02-06 Thread Wei Yang
numa_nodemask_from_meminfo() is called to set bit according to numa_meminfo. While the only two places for this call is used to set proper bit to a copy of numa_nodes_parsed from numa_meminfo. With current code path, those numa node information in numa_meminfo is a subset of numa_nodes_parsed. So