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

Re: [Xen-devel] [PATCH for 4.7] xen: Replace alloc_vcpu_guest_context() with vmalloc()

>>> On 28.08.15 at 15:13, <julien.grall@xxxxxxxxxx> wrote:
> Let me explain it in a different way: allocation is usually done with
> xmalloc, but here you are using vmalloc. Why did you use vmalloc rather
> than xalloc? AFAICT there is no improvement on ARM.
> If we open code the allocation, one could decide to use xmalloc which is
> the common allocation. So what would be the drawback to use xmalloc vs
> vmalloc?

Actually I think Julien's point is valid: If ARM can get away with
xmalloc(), why should we force it to use the heavier vmalloc()?


Xen-devel mailing list



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