Re: [PATCH -mm 11/14] bootmem: respect goal more likely

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Weiner <hannes@...>
Cc: Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Yinghai Lu <yhlu.kernel@...>, Andi Kleen <andi@...>, <linux-kernel@...>
Date: Wednesday, June 4, 2008 - 6:55 am

> This check is backwards and probably made your boot fail.

I tried it. However, my box cannot boot yet.


I thought this fallback was wrong at first, 
because fallback may point 0 at this time,
it doesn't point start_pfn of this node.

But even if here is commented out, kernel can't boot up yet.

I'd like to straggle more, but may be need more time,
because, IA64 doesn't have early_printk, and console is not enable
at here.....


P.S.
I was very confused by local variable namimng in alloc_bootmem_core. 
I suppose start, max, and end, should be named like
sidx, eidx, and midx. They are not pfn, but index of bitmap.

However, new_start and new_end should be named as new_start_offset and
new_end_offset. They are not index, but offset from start address of
the node.

Probably, it will be easier to read, I think.

Bye.
-- 
Yasunori Goto 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm 11/14] bootmem: respect goal more likely, Johannes Weiner, (Mon Jun 2, 8:50 pm)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Yasunori Goto, (Tue Jun 3, 9:59 am)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Johannes Weiner, (Tue Jun 3, 12:16 pm)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Yasunori Goto, (Wed Jun 4, 6:55 am)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Johannes Weiner, (Wed Jun 4, 4:25 pm)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Yasunori Goto, (Wed Jun 4, 10:58 pm)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Johannes Weiner, (Thu Jun 5, 12:13 am)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Yasunori Goto, (Thu Jun 5, 4:31 am)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Johannes Weiner, (Thu Jun 5, 12:41 pm)
Re: [PATCH -mm 11/14] bootmem: respect goal more likely, Yasunori Goto, (Thu Jun 5, 8:25 pm)