Re: [PATCH] initialize bootmem maps in reverse order

From: Xavier Bru <xavier.bru_at_bull.net>
Date: 2003-12-17 19:06:12
Jesse Barnes a écrit :

>On Mon, Dec 01, 2003 at 11:25:20AM -0800, Jesse Barnes wrote:
>  
>
>>On Mon, Dec 01, 2003 at 09:22:12AM -0800, Jesse Barnes wrote:
>>    
>>
>>>Yeah, sorry about that, I knew there would be a problem.  We need to fix
>>>the ia64 discontig code to init the boot memory in the correct order
>>>instead since the below change breaks other discontig platforms.
>>>      
>>>
>>It looks like we should break out the second half of
>>discontig.c:find_pernode_space() into a second function that inits the
>>bootmaps in reverse order.  As an added bonus, we could check to make
>>sure that all of the pernode spaces actually got allocated and print a
>>warning and/or disable the node if not.  That would make debugging weird
>>init time failures a bit easier (I think Alex ran into a problem that
>>would have been quickly solved if we had such checks).  Wanna take a
>>stab at it?
>>    
>>
>
>Does this patch work for you?  It does a few things:
>
>  o simplifies discontig.c:find_pernode_space() a bit due to the below
>    points
>  o does a sanity check to make sure that pernode spaces were
>    successfully allocated
>  o initializes the bootmem maps in reverse order
>
>If it looks ok, we can queue it up for 2.6.1.
>
>Jesse
>
>  
>
hello Jesse

The patch works OK for us.
Thanks !
Xavier

-- 

 Sincères salutations.
_____________________________________________________________________
 
Xavier BRU                 BULL ISD/R&D/INTEL office:     FREC B1-422
tel : +33 (0)4 76 29 77 45                    http://www-frec.bull.fr
fax : +33 (0)4 76 29 77 70                 mailto:Xavier.Bru@bull.net
addr: BULL, 1 rue de Provence, BP 208, 38432 Echirolles Cedex, FRANCE
_____________________________________________________________________


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Dec 17 03:06:07 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST