From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts.
Date: Fri, 10 May 2013 12:35:21 -0700 (PDT) [thread overview]
Message-ID: <20130510193521.GB4019@phenom.dumpdata.com> (raw)
In-Reply-To: <20874.30569.891795.43120@mariner.uk.xensource.com>
On Wed, May 08, 2013 at 05:03:53PM +0100, Ian Jackson wrote:
> Konrad Rzeszutek Wilk writes ("Re: [Xen-devel] [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts."):
> > Note that all of the libxl_cpu_bitmap_[test|set] silently ignore
> > any test or sets above its size:
> >
> > if (bit >= bitmap->size * 8)
> > return 0;
> >
> > so we were never notified off this bug.
>
> I hadn't spotted that. Arguably "return 0" should be "abort()".
I am really hesistant about doing this in Xen 4.3. There are a bunch
of places where this is used and I fear this will cause tons of
asserts and more bugs to crep up which will make George MAD!!!
I can certainly prep a patch for Xen 4.4 and slowly fix the fallout.
>
> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Is that for adding an assert or to the patch?
>
> Thanks,
> Ian.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
next prev parent reply other threads:[~2013-05-10 19:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 20:40 [PATCH] libxl: Make 'xl vcpu-set' work properly on overcommited hosts Konrad Rzeszutek Wilk
2013-05-08 10:32 ` George Dunlap
2013-05-08 10:46 ` Ian Campbell
2013-05-08 14:29 ` Konrad Rzeszutek Wilk
2013-05-08 15:04 ` Ian Campbell
2013-05-08 16:04 ` Ian Jackson
2013-05-08 16:35 ` Konrad Rzeszutek Wilk
2013-05-08 16:49 ` Ian Campbell
2013-05-08 17:05 ` Konrad Rzeszutek Wilk
2013-05-08 19:09 ` Ian Campbell
2013-05-08 22:39 ` Konrad Rzeszutek Wilk
2013-05-09 8:43 ` Ian Campbell
2013-05-09 9:09 ` George Dunlap
2013-05-09 13:13 ` Konrad Rzeszutek Wilk
2013-05-09 13:59 ` George Dunlap
2013-05-10 18:05 ` Ian Jackson
2013-05-13 5:00 ` Juergen Gross
2013-05-08 16:03 ` Ian Jackson
2013-05-10 19:35 ` Konrad Rzeszutek Wilk [this message]
2013-05-13 14:02 ` Ian Jackson
2013-05-08 11:58 ` Ian Jackson
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=20130510193521.GB4019@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.