|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Baffled by multipage_allocation_permitted()
>>> Dave McCracken <dcm@xxxxxxxx> 16.06.09 15:10 >>>
>Out of curiosity, why is it necessary to restrict the size of multipage
>allocations at all? I'd think the memory size limits would adequately protect
>against any guest going wild with it. What harm could come from, for example,
>a guest asking for a 16M contiguous page? I don't know of any current need
>for such a thing. I'm just wondering why we restrict it.
Because contiguous memory is a more precious resource than just individual
pages, and allocations strictly needing multiple contiguous pages should not
fail because of a random guest doing odd things.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|