xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2 v3] Sanity checking of scheduling parameters
@ 2012-06-08  9:08 Dario Faggioli
  2012-06-08  9:08 ` [PATCH 1 of 2 v3] libxl: propagete down the error from libxl_domain_sched_params_set Dario Faggioli
  2012-06-08  9:08 ` [PATCH 2 of 2 v3] xl: check for meaningful combination of sedf config file parameters Dario Faggioli
  0 siblings, 2 replies; 10+ messages in thread
From: Dario Faggioli @ 2012-06-08  9:08 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap, Juergen Gross, Ian Jackson, Ian Campbell

Hi,

This small series achieves two goals:
 - check the return value of libxl_domain_sched_params_set() in
   libxl__build_post() and deal with the error, if that is the
   case (patch #1);
 - check and ensue we are passing along a meaningful set of sedf
   scheduling parameters when they come directly from the config file
   (patch #2)

Tested on both credit and sedf schedulers.

Changes from v2:
 * actually propagate the error correctly instead of always returning
   INVAL (in patch #1).

Changes from v1:
 * patch #1: it was not there at all in v1! :-P
 * patch #2: the if-s have been moved into an helper function. Also,
   they only happen if the domain is actually being scheduled with
   sedf (IanC, yes, I decided to do it... At the end of the day, it is
   simple enough I think).


Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-14 15:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-08  9:08 [PATCH 0 of 2 v3] Sanity checking of scheduling parameters Dario Faggioli
2012-06-08  9:08 ` [PATCH 1 of 2 v3] libxl: propagete down the error from libxl_domain_sched_params_set Dario Faggioli
2012-06-08 11:10   ` Ian Jackson
2012-06-08  9:08 ` [PATCH 2 of 2 v3] xl: check for meaningful combination of sedf config file parameters Dario Faggioli
2012-06-08 11:10   ` Ian Jackson
2012-06-08 11:11     ` George Dunlap
2012-06-08 14:26       ` Ian Jackson
2012-06-12 14:58         ` Ian Campbell
2012-06-14 15:06           ` [PATCH 2 of 2 v3] xl: check for meaningful combination of sedf config file parameters [and 1 more messages] Ian Jackson
2012-06-14 15:13             ` Dario Faggioli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).