lkml.org 
[lkml]   [2008]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] x86_64: increse MAX_EARLY_RES for NODE_DATA and bootmap

* Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:

> ok, discard 3, and 4.
>
> how about 2 v2?

i'm leaning towards v4, but the more fundamental breakage is in the
early_node_mem() ad-hoc allocator that got butchered into this code a
year ago:

commit a8062231d80239cf3405982858c02aea21a6066a
Author: Andi Kleen <ak@suse.de>
Date: Fri Apr 7 19:49:21 2006 +0200

[PATCH] x86_64: Handle empty PXMs that only contain hotplug memory

...
+static void * __init
+early_node_mem(int nodeid, unsigned long start, unsigned long end,
+ unsigned long size)

and we are now suffering the side-effects of that hack.

what i suspect we need instead is a proper early-allocator that works in
the e820 space.

Ingo


\
 
 \ /
  Last update: 2008-01-31 14:43    [W:0.072 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site