|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v10 01/11] xen: add function for obtaining highest possible memory address
>>> On 25.09.17 at 12:00, <jgross@xxxxxxxx> wrote:
> @@ -96,14 +96,15 @@ struct xen_sysctl_physinfo {
> uint32_t nr_nodes; /* # nodes currently online */
> uint32_t max_node_id; /* Largest possible node ID on this host */
> uint32_t cpu_khz;
> + uint32_t capabilities; /* XEN_SYSCTL_PHYSCAP_??? */
> +
> uint64_aligned_t total_pages;
> uint64_aligned_t free_pages;
> uint64_aligned_t scrub_pages;
> uint64_aligned_t outstanding_pages;
> uint32_t hw_cap[8];
>
> - /* XEN_SYSCTL_PHYSCAP_??? */
> - uint32_t capabilities;
> + uint64_aligned_t max_mfn; /* Largest possible MFN on this host */
> };
Should I end up committing this, I'll likely take the liberty any also
move the addition up next to the other uint64_aligned_t fields.
That'll allow the initial portion of the structure to remain stable
whenever hw_cap[] gets dropped from it.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |