lkml.org 
[lkml]   [2014]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] numa, mem-hotplug: Fix stack overflow in numa when seting kernel nodes to unhotpluggable.
On Wed, Jan 22, 2014 at 10:15:51PM -0800, David Rientjes wrote:
> On Thu, 23 Jan 2014, Dave Jones wrote:
>
> > It's 10, because I had MAXSMP set.
> >
> > So, MAX_NUMNODES = 1 << 10
> >
> > And the bitmask is made of longs. 1024 of them.
> >
> > How does this work ?
> >
>
> It's 1024 bits.

ok, I got lost in the maze of macros.

128 bytes is a pretty small amount of stack though, so I'm just as confused
as to what the actual bug here is.


After trying the proposed fix, I got another oops in the early init code..

<trace>
nr_free_zone_pages
nr_free_pagecache_pages
build_all_zonelists
start_kernel
<rip> ffffffffbc164b1e next_zones_zonelist
<rsp> ffffffffbcc01f00

I'll poke at it more in the morning. Too sleepy.

Dave



\
 
 \ /
  Last update: 2014-01-23 16:21    [W:0.125 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site