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

[Xen-devel] [PATCH v2 0/2] xen: sched: don't call hooks of the wrong scheduler via VCPU2OP



Hi,

This is v2 of 
https://lists.xen.org/archives/html/xen-devel/2017-03/msg02119.html

It's now two patches. Patch 1 is what I already sent, amended taking into
account Jan's suggesions. It is the actual bugfix and the one that should be
backported.

Patch 2 is basically applying the same principle to the DOM2OP() macro, which
although not buggy, was equally unclear and potentially dangerous (plus some
renaming, suggested by Juergen).

Thanks and Regards,
Dario
---
Dario Faggioli (2):
      xen: sched: don't call hooks of the wrong scheduler via VCPU2OP
      xen: sched: improve robustness (and rename) DOM2OP()

 xen/common/schedule.c |   76 +++++++++++++++++++++++++++++++++++++------------
 1 file changed, 57 insertions(+), 19 deletions(-)
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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