Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1618252

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

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [Patch V2 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()
Date 2017-04-06 20:30 +0200
Message-ID <ttkkq-4sU-9@gated-at.bofh.it> (permalink)
References (1 earlier) <tkL0u-2gr-15@gated-at.bofh.it> <ttf1n-8X-7@gated-at.bofh.it> <tthcS-25g-17@gated-at.bofh.it> <tthPB-2yp-27@gated-at.bofh.it> <ttk15-4lh-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 06, 2017 at 08:01:13PM +0200, Borislav Petkov wrote:
> On Thu, Apr 06, 2017 at 06:42:16PM +0300, Kirill A. Shutemov wrote:
> > Config is attached.
> 
> Thanks!
> 
> > Looks like fake numa is the key.
> 
> ...
> 
> > NUMA: Warning: node ids are out of bound, from=0 to=1 distance=20                                                                                                                                                                                                                                               [    0.000000] numa_register_memblks: numa_nodes_parsed: 0
> > numa_register_memblks: nid: 0
> > numa_register_memblks: nid: 1
> > numa_register_memblks: nid: 2
> > numa_register_memblks: nid: 3
> 
> Yeah, the fake numa thing calls emu_setup_memblk() and that doesn't
> set numa_nodes_parsed to the number of fake numa nodes. And since with
> that "cleanup" which opened more work than it saved (btw, this is the
> last time I'm looking at crap like that) we got rid of the "enlarging"
> of the node mask to the actual nodes count and *that* blows up with
> numa_nodes_parsed having only node 0 in there.
> 
> Long story short, something as trivial as this helps here:

Yep. Works for me.

Reported-and-tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-06 14:50 +0200
  Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() Borislav Petkov <bp@alien8.de> - 2017-04-06 17:10 +0200
    Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() Borislav Petkov <bp@alien8.de> - 2017-04-06 20:10 +0200
      Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-04-06 20:30 +0200
        Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() Borislav Petkov <bp@alien8.de> - 2017-04-06 20:50 +0200
          Re: [Patch V2 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo() Wei Yang <richard.weiyang@gmail.com> - 2017-04-09 05:20 +0200
            Re: [Patch V2 2/2] x86/mm/numa: remove the  numa_nodemask_from_meminfo() Borislav Petkov <bp@alien8.de> - 2017-04-10 14:50 +0200

csiph-web