[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703201626030.6730@woody.linux-foundation.org>
Date: Tue, 20 Mar 2007 16:43:09 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Andi Kleen <ak@...e.de>
cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
David Miller <davem@...emloft.net>,
virtualization@...ts.linux-foundation.org, jbeulich@...ell.com,
jeremy@...p.org, xen-devel@...ts.xensource.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
chrisw@...s-sol.org, virtualization@...ts.osdl.org,
anthony@...emonkey.ws, akpm@...ux-foundation.org, mingo@...e.hu
Subject: Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops
callsites to make them patchable
On Tue, 20 Mar 2007, Andi Kleen wrote:
> On Tue, Mar 20, 2007 at 11:49:39AM -0700, Linus Torvalds wrote:
> >
> > the thing is, I'd rather see a long backtrace that is hard to decipher but
> > that *never* *ever* causes any additional problems, over a pretty one.
>
> Well it causes additional problems. We had some cases where it was really
> hard to distingush garbage and the true call chain. I can probably dig
> out some examples if you want.
Well, by "additional problems" _I_ mean things like "a warning turned into
a fatal oops and didn't get logged at all".
That's a lot more serious than "there were a few extra entries in the
traceback that caused us some confusion".
And yes, we had exactly that case happen several times.
> With lots of call backs (e.g. common with sysfs) it is also frequently
> not obvious how the call chains are supposed to go.
With callbacks, it's actually often nice to see the callback data that is
on the stack (and it's very obvious from the "<function+0>" ksymtab
explanation: you can't have a <function+0> that is anything but a callback
pointer (since it isn't a return address).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists