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

Re: [Xen-devel] [PATCH] 32on64: increase size of compat argumenttranslation area to 2 pages



>>> Ian Campbell <ian.campbell@xxxxxxxxxx> 03.07.09 14:54 >>>
>32on64: increase size of compat argument translation area to 2 pages.
>
>The existing single page is not quite large enough to translate a
>XENMEM_exchange hypercall with order=9. Since Linux uses
>MAX_CONTIG_ORDER of 9 this seems like a reasonable upper bound to
>support.
>
>Increasing COMPAT_ARG_XLAT_SIZE to 2 pages is sufficient to support
>order 9 exchanges. PERCPU_SHIFT must also be increased since the
>translation area is percpu.

Perhaps we should decouple this by allocating those pages as CPUs get
brought up, and just have a pointer in per-CPU storage.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.