kernel link times

From: David Mosberger <>
Date: 2003-09-10 17:08:53
A while ago, Matthew brought up the issue of kernel link times.
Turning off debug info certainly accelerates linking, but if you're
like me and really want the debug info to be there, that's not much
help.  Fortunately, there is a very nice patch by Michael Matz which
fixes an O(N^2) algorithm in the linker which was burning huge amounts
of CPU cycles.  With this patch applied a "make vmlinux" (with nothing
changed other than version.c) drops from ~90sec to 27sec on my
(oldish) machine.  The improved linker still spends almost 30% of its
time in a single routine, so there may be other optimization
opportunities, but this is already a big step forward.  Patch can be
found here:


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Sep 10 03:09:08 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:17 EST