xen/sched: add domain pointer to struct sched_unit
xen/common/schedule.c static void sched_spin_unlock_double(spinlock_t *lock1, spinlock_t *lock2, · line 256
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 28.05.19 at 12:32, <[email protected]> wrote:
xen/common/schedule.c +1
-1@@ -253,7 +253,7 @@ static void sched_spin_unlock_double(spinlock_t *lock1, spinlock_t *lock2,static void sched_free_unit (struct sched_unit *unit) {struct sched_unit *prev_unit; -struct domain *d = unit->vcpu->domain; +struct domain *d = unit->domain;
As said in reply to patch 13, I think the domain pointer should be introduced right in patch 4, to avoid changes like the above one, and in particular to avoid missing changes like the one that would be wanted also to has_soft_affinity().
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 14 lines · Jan Beulich
xen/common/schedule.c static void sched_spin_unlock_double(spinlock_t *lock1, spinlock_t *lock2, · line 256
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 28.05.19 at 12:32, <[email protected]> wrote:
xen/common/schedule.c +1
-1@@ -253,7 +253,7 @@ static void sched_spin_unlock_double(spinlock_t *lock1, spinlock_t *lock2,static void sched_free_unit (struct sched_unit *unit) {struct sched_unit *prev_unit; -struct domain *d = unit->vcpu->domain; +struct domain *d = unit->domain;As said in reply to patch 13, I think the domain pointer should be introduced right in patch 4, to avoid changes like the above one, and in particular to avoid missing changes like the one that would be wanted also to
has_soft_affinity().
Fine with me.
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel