Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-13 Thread Wei Yang
On Mon, Mar 13, 2017 at 02:00:10PM +0100, Borislav Petkov wrote: >On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >> When allocating pg_data in alloc_node_data(), it will try to allocate from >> local node first and then from any node. If it fails at the second trial, >> it means there

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-13 Thread Wei Yang
On Mon, Mar 13, 2017 at 02:00:10PM +0100, Borislav Petkov wrote: >On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >> When allocating pg_data in alloc_node_data(), it will try to allocate from >> local node first and then from any node. If it fails at the second trial, >> it means there

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-13 Thread Borislav Petkov
On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: > When allocating pg_data in alloc_node_data(), it will try to allocate from > local node first and then from any node. If it fails at the second trial, > it means there is not available memory on any node. > > This patch fixes the error

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-13 Thread Borislav Petkov
On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: > When allocating pg_data in alloc_node_data(), it will try to allocate from > local node first and then from any node. If it fails at the second trial, > it means there is not available memory on any node. > > This patch fixes the error

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-08 Thread Wei Yang
Dear masters~ Would you like to share some comments on these two? On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-03-08 Thread Wei Yang
Dear masters~ Would you like to share some comments on these two? On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-27 Thread Wei Yang
Hope someone like these two patches. On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is not available memory on any

Re: [PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-27 Thread Wei Yang
Hope someone like these two patches. On Mon, Feb 06, 2017 at 11:35:28PM +0800, Wei Yang wrote: >When allocating pg_data in alloc_node_data(), it will try to allocate from >local node first and then from any node. If it fails at the second trial, >it means there is not available memory on any

[PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-06 Thread Wei Yang
When allocating pg_data in alloc_node_data(), it will try to allocate from local node first and then from any node. If it fails at the second trial, it means there is not available memory on any node. This patch fixes the error message and correct one typo. Signed-off-by: Wei Yang

[PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-06 Thread Wei Yang
When allocating pg_data in alloc_node_data(), it will try to allocate from local node first and then from any node. If it fails at the second trial, it means there is not available memory on any node. This patch fixes the error message and correct one typo. Signed-off-by: Wei Yang ---