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

Re: [Xen-devel] [PATCH v3 38/47] xen/sched: move per-cpu variable cpupool to struct sched_resource

On 24.09.19 15:10, Jan Beulich wrote:
On 14.09.2019 10:52, Juergen Gross wrote:
Having a pointer to struct cpupool in struct sched_resource instead
of per cpu is enough.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Technically / mechanically
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

However, I'm confused by what appears to be a resulting chicken-and-
egg problem when considering the plan of allowing different
granularities in different cpupools. Perhaps I'm either mis-
remembering that plan, or it's not clear to me how data would get
structured in that case.

There still is:

DEFINE_PER_CPU_READ_MOSTLY(struct sched_resource *, sched_res);


Xen-devel mailing list



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