]> git.neil.brown.name Git - history.git/commit
[PATCH] free_area_init_node fix (for non discontigmem direct use)
authorMartin J. Bligh <fletch@aracnet.com>
Sat, 21 Sep 2002 12:39:56 +0000 (05:39 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 21 Sep 2002 12:39:56 +0000 (05:39 -0700)
commit16903606526512ab9ed6e463632c23b3b86ed85f
treee812db0aa0dc11c2004d4a3ee65d8c1f7171f0c0
parent914744e2ff5eb4cbcd6e7263658c8485e899f39c
[PATCH] free_area_init_node fix (for non discontigmem direct use)

Some idiot (OK, it was me) broke free_area_init_node for
non discontigmem systems that call it directly (eg sparc64),
during a recent cleanup, thus invoking the wrath of DaveM.

I know Dave sent you a patch yesterday, but I think the BUG
statement in it will break anyone who just uses free_area_init
(eg any PC). So here's a portion of Dave's patch that should
fix things for everyone I think. Unfortunately my non-NUMA
test box is borked right now, but it just removes the BUG
statement from what he tested, and it's so simple that even
I couldn't screw this up (famous last words).

This code really needs some more cleanup work, but this will
fix it for now so everyone can do their work ...
mm/numa.c