All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <raistlin@linux.it>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
	Juergen Gross <juergen.gross@ts.fujitsu.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 3 of 3] libxl: make it possible to explicitly specify default sched params
Date: Wed, 23 May 2012 13:12:40 +0200	[thread overview]
Message-ID: <1337771560.27368.69.camel@Solace> (raw)
In-Reply-To: <b6221bcdf9a9045b49a2.1337765210@cosworth.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 3059 bytes --]

On Wed, 2012-05-23 at 10:26 +0100, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@citrix.com>
> # Date 1337764865 -3600
> # Node ID b6221bcdf9a9045b49a2ddd7877602788f657bad
> # Parent  7d8428388b775a0b26cf88f89ec8f99f5fc8ce25
> libxl: make it possible to explicitly specify default sched params
> 
> To do so we define a descriminating value which is never a valid real value for
> each parameter.
> 
> While there:
> 
>  - removed libxl_sched_*_domain in favour of libxl_sched_params.
>  - use this new functionality for the various xl commands which set sched
>    parameters, which saves an explicit read-modify-write in xl.
>  - removed call of xc_domain_getinfolist from a few functions which weren't
>    actually using the result (looks like a cut and paste error)
>  - fix xl which was setting period for a variety of different config keys.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> 
Might be my fault, but I can't get this patch to build:

xl_cmdimpl.c:4365:47: error: unknown type name ‘libxl_sched_credit_domain’
xl_cmdimpl.c: In function ‘sched_credit_domain_output’:
xl_cmdimpl.c:4401:5: error: unknown type name ‘libxl_sched_credit_domain’
xl_cmdimpl.c:4408:5: error: implicit declaration of function ‘sched_credit_domain_get’ [-Werror=implicit-function-declaration]
xl_cmdimpl.c:4415:15: error: request for member ‘weight’ in something not a structure or union
xl_cmdimpl.c:4416:15: error: request for member ‘cap’ in something not a structure or union
xl_cmdimpl.c:4418:5: error: implicit declaration of function ‘libxl_sched_credit_domain_dispose’ [-Werror=implicit-function-declaration]
xl_cmdimpl.c: At top level:
xl_cmdimpl.c:4444:16: error: unknown type name ‘libxl_sched_credit2_domain’
xl_cmdimpl.c:4456:16: error: unknown type name ‘libxl_sched_credit2_domain’
xl_cmdimpl.c: In function ‘sched_credit2_domain_output’:
xl_cmdimpl.c:4471:5: error: unknown type name ‘libxl_sched_credit2_domain’
xl_cmdimpl.c:4478:5: error: implicit declaration of function ‘sched_credit2_domain_get’ [-Werror=implicit-function-declaration]
xl_cmdimpl.c:4485:15: error: request for member ‘weight’ in something not a structure or union
xl_cmdimpl.c:4487:5: error: implicit declaration of function ‘libxl_sched_credit2_domain_dispose’ [-Werror=implicit-function-declaration]
xl_cmdimpl.c: At top level:
xl_cmdimpl.c:4492:16: error: unknown type name ‘libxl_sched_sedf_domain’
xl_cmdimpl.c:4504:16: error: unknown type name ‘libxl_sched_sedf_domain’
...
...

It seems like there are some leftovers of the old
libxl_sched_{credit,...}_domain in xl_cmdimpl.c ... Perhaps a missing
add/refresh on our side?

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)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

  parent reply	other threads:[~2012-05-23 11:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23  9:26 [PATCH 0 of 3] libxl: make it possible to explicitly specify default sched params Ian Campbell
2012-05-23  9:26 ` [PATCH 1 of 3] libxl: add internal function to get a domain's scheduler Ian Campbell
2012-05-23 19:47   ` George Dunlap
2012-05-24  8:55     ` Ian Campbell
2012-05-24  9:16       ` Dario Faggioli
2012-05-23  9:26 ` [PATCH 2 of 3] libxl: rename libxl_sched_params to libxl_sched_domain_params Ian Campbell
2012-05-23 19:49   ` George Dunlap
2012-05-23  9:26 ` [PATCH 3 of 3] libxl: make it possible to explicitly specify default sched params Ian Campbell
2012-05-23 10:51   ` Ian Jackson
2012-05-23 11:12   ` Dario Faggioli [this message]
2012-05-24  8:52     ` Ian Campbell
2012-05-24  9:15       ` Dario Faggioli
2012-05-23 19:28   ` George Dunlap
2012-05-23 19:34     ` George Dunlap
2012-05-23 21:19     ` Dario Faggioli
2012-05-24  9:13       ` Ian Campbell
2012-05-24  9:36         ` Dario Faggioli
2012-05-24 13:57     ` Ian Jackson
2012-05-24 14:02       ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337771560.27368.69.camel@Solace \
    --to=raistlin@linux.it \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=juergen.gross@ts.fujitsu.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.