Re: [PATCH] alpha: link failure fix

From: Ivan Kokshaysky
Date: Tue Jun 24 2008 - 08:36:54 EST


On Sat, Jun 21, 2008 at 10:17:42PM +0200, Sam Ravnborg wrote:
> Most other architectures would only notice when the exit function
> is called because they do late discardning og the exit section.
> alpha (and sparc) are some of the few architectures that discard exit
> section at link time thus you will see this much sooner
> than the others.

Ah, indeed. Then it's not so critical on x86 and others.

> Are the any size penalties here?

Just checked: quite the contrary, on alpha with -fno-jump-tables
resulting kernel image is a few kilobytes smaller (~17Kb in my config,
vmlinux is ~5Mb).

> I assume there are a minimal performance penalty.

Yeah, I don't think there are lots of big switch statements in the
hot paths.

Ivan.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/