From: Gianni Tedesco Subject: Re: [PATCH]: xl: poison data objects in auto-generated destructors Date: Fri, 20 Aug 2010 17:19:05 +0100 Message-ID: <1282321145.3731.76.camel@qabil.uk.xensource.com> References: <1282315791.3731.60.camel@qabil.uk.xensource.com> <1282316759.3170.5444.camel@zakaz.uk.xensource.com> <1282321184.12544.10.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1282321184.12544.10.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Xen Devel , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2010-08-20 at 17:19 +0100, Ian Campbell wrote: > 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 > > > > > > 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? > > Ian. Agreed. Also this type of stuff is nice to have in widespread testing and bug tickling that "the idiot users out there" are so damn good at :)