[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/3] xen/arm: p2m: Perform local TLB invalidation on vCPU migration
Hi Stefano, On 03/14/2017 10:39 PM, Stefano Stabellini wrote: On Wed, 8 Mar 2017, Julien Grall wrote:On 08/03/2017 19:48, Stefano Stabellini wrote:On Wed, 8 Mar 2017, Julien Grall wrote:I see your point, it is a good idea to use the remaining space in struct domain. The only issue is that a user could set CONFIG_NR_CPUS large enough to push last_vcpu_ran beyond the page boundary. I think we need to add a BUILD_BUG_ON(sizeof(struct domain) >= PAGE_SIZE). There is already a BUILD_BUG_ON(sizeof(struct domain) > PAGE_SIZE) in alloc_domain_struct. Would it be enough for you? Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |