|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 7/8] xen/cpupool: add scheduling granularity entry to cpupool entries
On 09.12.2020 17:09, Juergen Gross wrote:
> @@ -1080,6 +1092,56 @@ static struct hypfs_entry *cpupool_dir_findentry(
> return hypfs_gen_dyndir_id_entry(&cpupool_pooldir, id, cpupool);
> }
>
> +static int cpupool_gran_read(const struct hypfs_entry *entry,
> + XEN_GUEST_HANDLE_PARAM(void) uaddr)
> +{
> + const struct hypfs_dyndir_id *data;
> + const struct cpupool *cpupool;
> + const char *gran;
> +
> + data = hypfs_get_dyndata();
> + cpupool = data->data;
> + ASSERT(cpupool);
With this and ...
> +static unsigned int hypfs_gran_getsize(const struct hypfs_entry *entry)
> +{
> + const struct hypfs_dyndir_id *data;
> + const struct cpupool *cpupool;
> + const char *gran;
> +
> + data = hypfs_get_dyndata();
> + cpupool = data->data;
> + ASSERT(cpupool);
... this ASSERT() I'd like to first settle our earlier discussion,
before possibly giving my R-b here. No other remaining remarks from
my side.
Jan
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |