Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [patch] smaller kernels | Date | Mon, 25 Mar 2002 18:09:55 +1100 |
| |
In message <3C9EBF13.4FEBB158@zip.com.au> you write: > Rusty Russell wrote: > > > > On Tue, 19 Mar 2002 22:11:48 -0800 > > Andrew Morton <akpm@zip.com.au> wrote: > > > > > This is the result of a search-and-destroy mission against > > > oft-repeated strings in the kernel text. These come about > > > due to the toolchain's inability to common up strings between > > > compilation units. > > > > The name is horrible. BUG() stands out: perhaps "BUG_LITE()"? > > out_of_line_bug()? It's a bit ornate I guess, but it tells > you what it does when you look at it.
I like BUG() because it stands out in a fast code scan. And the shouting prevents people from sprinkling them everywhere like a drunken soldier (although there are still some people who seem to want to BUG before ops which would oops anyway...)
Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |