[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] (V2) Avoid stale pointer when moving domain to another cpupool
When a domain is moved to another cpupool the scheduler private data pointers in vcpu and domain structures must never point to an already freed memory area. While at it, simplify sched_init_vcpu() by using DOM2OP instead VCPU2OP. Changes since V1: - don't use an an own loop for freeing vcpu_data - free old domain data after unpausing the domain - simplify sched_init_vcpu (DOM2OP instead VCPU2OP) Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> 1 file changed, 14 insertions(+), 6 deletions(-) xen/common/schedule.c | 20 ++++++++++++++------ Attachment:
xen-staging.hg.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |