The solution is summarized by Dario Faggioli at 
http://lists.xen.org/archives/html/xen-devel/2014-09/msg03603.html.

Here is the solution:
     - sanity checking input params in rt_dom_cntl()
     - serialize rt_dom_cntl() itself against the global lock
     - move the call to rt_update_deadline() from _alloc to _insert

Here is a history of the patch set:
    v1: first patch to implement the solution by replying the thread; request 
for comment.
    v2: properly lock the data as proposed in the solution; 
    v3: add comments to the commit log to better explain the reason of the 
implementation.

The whole patch set is:
    Release-Acked-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>

[PATCH for Xen 4.5 v3 1/2] xen: sanity check input and serialization
    Reviewed-by: Dario Faggioli <dario.faggi...@citrix.com>
    Reviewed-by: George Dunlap <george.dun...@eu.citrix.com>
[PATCH for Xen 4.5 v3 2/2] xen: serialize vcpu data in sched_rt.c
    Reviewed-by: Dario Faggioli <dario.faggi...@citrix.com>


---
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania

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

Reply via email to