[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] [PATCH 0 of 2 v2] Sanity checking of scheduling parameters
- To: xen-devel@xxxxxxxxxxxxx
- From: Dario Faggioli <raistlin@xxxxxxxx>
- Date: Thu, 07 Jun 2012 15:42:31 +0200
- Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
- Delivery-date: Thu, 07 Jun 2012 13:50:58 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :message-id:user-agent:date:from:to:cc; bh=rdrEOhcKbRku+W5NlADfNq3iX3Qpegz/Ww0nOkS2VGY=; b=Vs5/5fOjFjzXJmdlaxEmAk0aryeC4YIM/4EX89oYECP9oeIuTmLHocgMPLgdGS0Hx9 8tayPT0ln+Btn/LZ/NfuaaQzocQVPkYV0nxTyBA6xraG8BvbMZANPnLuXqyq1N1JyQgu OGchfB5yLZ4JWbS4rWqKQIi+Oleswa/IZnhoSlGoX7S7mH19i+Dzv821MAo8sk/Bbqa9 qcDlvBTJ21DeC/XhAPwpcsVbtPYYQdWyqW1Nc9PkKaw7+V3H2YLHkCjQT6i77Z3zSjiI tcH1uq/GsvFsuh0LRuXI7NGqn8IEVAkGwJIzQ3lIY5K3FY6gaY8C2ATpcQmIf859m7LZ 7VcQ==
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
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 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)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel