Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



Manuel Bouyer wrote:
> On Mon, Nov 23, 2009 at 08:44:10AM +1100, matthew green wrote:
>>    Module Name:      src
>>    Committed By:     bouyer
>>    Date:             Sun Nov 22 21:41:03 UTC 2009
>>    
>>    Modified Files:
>>      src/sys/arch/amd64/include: vmparam.h
>>      src/sys/arch/x86/x86: x86_machdep.c
>>    
>>    Log Message:
>>    For amd64, introduce a third free list distinct from the default free list
>>    for memory between 16M and 4G. On large memory machine, this avoids
>>    the 32bit-accessible memory being eaten by various kernel early 
>> allocation,
>>    causing 32bit bus_dma(9) memory allocation to fail at boot time.
>>    Tested on a system with 48GB RAM; based on netbsd-5 patch proposed on
>>    port-amd64 3 days ago.
>>
>>
>> i wonder if we should do this on i386 PAE as well?
> 
> We'll probably have to do it for i386 PAE when it's natively supported
> (just define a VM_FREELIST_FIRST4G in i386/vmparam.h for this case).
> it's not needed for Xen because the management of free lists like
> this is managed by the hypervisor.

Is this also true when you assign more than 4GB RAM to the Dom0 ?

Christoph




Home | Main Index | Thread Index | Old Index