This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH]: xl: poison data objects in auto-generated destr

To: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH]: xl: poison data objects in auto-generated destructors
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Fri, 20 Aug 2010 17:19:44 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "Gianni Tedesco \(3P\)" <gianni.tedesco@xxxxxxxxxx>
Delivery-date: Fri, 20 Aug 2010 09:21:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1008201716420.2545@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <1282315791.3731.60.camel@xxxxxxxxxxxxxxxxxxxxxx> <1282316759.3170.5444.camel@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1008201716420.2545@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2010-08-20 at 17:17 +0100, Stefano Stabellini wrote:
> On Fri, 20 Aug 2010, Ian Campbell wrote:
> > On Fri, 2010-08-20 at 15:49 +0100, Gianni Tedesco (3P) wrote:
> > > Increase the probability of blowing up badly up during any
> > > use-after-destroy scenarios.
> > > 
> > > Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
> > 
> > I'd suggest perhaps only for debug=y builds but we don't seem to
> > propagate that concept into tools/ and it's probably not worth it
> > anyhow.
> Agreed. We probably just want to revert this patch right before the
> release, it might be worth to write a note about it somewhere.

There's no way we'll remember to do that ;-)

If we care (and I'm not sure how much of the toolstack code is likely to
be performance critical at this level) then I think the time would be
better spent making debug=[yn] do something under tools/libx?


Xen-devel mailing list