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

Re: [Xen-devel] [PATCH 4/6] xen/sched: Remove {init, destroy}_domain() interfaces



On Wed, 2018-02-28 at 14:14 +0000, Andrew Cooper wrote:
> These hooks have one single caller (sched_{init,destroy}_domain()
> respectively) and are all identical (when implemented).
> 
> Previous changes have ensured that only real domains reach these
> functions, so
> ASSERT() that system domains are not seen. Call
> sched_{alloc,free}_domdata()
> directly, and handle d->sched_priv directly.
> 
> The net diffstat is:
>   add/remove: 0/8 grow/shrink: 1/7 up/down: 7/-335 (-328)
>   function                                     old     new   delta
>   sched_destroy_domain                         130     137      +7
>   sched_init_domain                            138     137      -1
>   rt_dom_destroy                                 6       -      -6
>   null_dom_destroy                               6       -      -6
>   csched_dom_destroy                             9       -      -9
>   csched2_dom_destroy                            9       -      -9
>   sched_rtds_def                               264     248     -16
>   sched_null_def                               264     248     -16
>   sched_credit_def                             264     248     -16
>   sched_credit2_def                            264     248     -16
>   sched_arinc653_def                           264     248     -16
>   ops                                          264     248     -16
>   rt_dom_init                                   52       -     -52
>   null_dom_init                                 52       -     -52
>   csched_dom_init                               52       -     -52
>   csched2_dom_init                              52       -     -52
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>
Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx>

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Software Engineer @ SUSE https://www.suse.com/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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