On Thu, 28 Sep 2006 03:27:12 -0700
Jeremy Fitzhardinge <[email protected]> wrote:
> Andrew Morton wrote:
> > Plan #17 is to just put the BUG inline and then put the EIP+file*+line into
> > a separate section, then search that section at BUG time to find the record
> > whose EIP points back at this ud2a.
> >
>
> Sure, but it seems a bit complex for this; I think simpler is better
> when the kernel has got itself into an iffy state.
It's just a linear search.
> > It's a bit messy for modules, but it minimises the .text impact and keeps
> > disassembly happy, no?
> >
> I'm not quite sure I understand your concern. You're worried about the
> size increase to vmlinux in the case where you specify
> CONFIG_DEBUG_BUGVERBOSE?
- We're using ten bytes of instruction cache where we could use two bytes
- If this is done right, other architectures can use the look-it-up code,
thus cleaning up the kernel codebase.
And looky, powerpc already does this, so it'd be a matter of librarifying
their code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]