Avi Kivity wrote:
>>>> I wonder if there's a more elegant way dealing with older 
>>>> userspaces.  For instance, is there any reason why we can allocate a 
>>>> userspace memory region on behalf of userspace.  That way swap would 
>>>> even work with older userspaces.
>>>>       
>>>>         
>>> if we can do that, yes swap will work on older userspace.
>>>     
>>>       
>> I think it's just a matter of calling do_mmap() with the appropriate 
>> parameters.  It looks likes there's some drivers call do_mmap() directly.
>>
>>   
>>     
>
> This will halve the maximum size of virtual machines on i386 since
> userspace will also mmap() the memory, and the virtual address space is
> restricted to 3GB.
>
>   

Upon further reflection, considering that this will only be generally
available in a kernel in six months (2.6.25) and that new userspace has
already been released, and that only i386 is affected, the
simplification may be worthwhile.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to