2.6.10-rc2-mm4
Quoted 9 lines · Arjan van de Ven
Quoted 8 lines · Andrew Morton
Quoted 6 lines · Arjan van de Ven
Quoted 4 lines · Andrew Morton
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc2/2.6.10-rc2-mm4/
-
x86_64supports a fourth VM zone:ZONE_DMA32. This may affect memory reclaim, but shouldn't.what is the purpose of such a zone ??
Quoted 7 lines
Quoted 2 lines
For pages which have a physical address <4G. I assume this was motivated by the lack of an IOMMU on ia32e?
but there's the swiommu for those... so that can't be it realistically....
Is there code using the zone GFP mask yet ??
If this is going to stay, I have one possible user. VMware's vmmon needs to allocate two pages from memory below 4GB so it can use these pages for code and page table root while switching from long mode to legacy mode and back. After switch code can use PAE mode and access any memory it wants, but as CR3 is 32bit only in legacy mode, and paging has to be disabled while switching between modes, these two pages needs to be in low 4GB.
Currently vmmon uses GFP_DMA for this allocation - which unnecessarily limits memory available for this operation to 16MB, although any page from low 4GB suffices.
Best regards,
Petr Vandrovec
Quoted 3 lines · Petr Vandrovec
If this is going to stay, I have one possible user. VMware's vmmon needs to allocate two pages from memory below 4GB so it can use these pages for code and page table root while switching from long mode to legacy
That would also be a proprietary hook wouldn't it 8)
So far I can find none although I can find users for a 512Mb or 1Gb DMA region. Several sound cards would benefit from this as would b44 and to a small extent aacraid but no users who benefit for 32bit DMA. In the video space it's even stranger because DRI doesn't need it, fbcon doesn't need it and even beyond the supported open source hardware PCI-Express is the non-AGPGART user and that is 64bit. Even for the users I can find it seems a risky path because of the past problems trying to get zone balancing working.
Or do we have someone whose driver is not only proprietary but has crap hardware ?
Alan