[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1253626718-18887-1-git-send-email-alan-jenkins@tuffmail.co.uk>
Date: Tue, 22 Sep 2009 14:38:34 +0100
From: Alan Jenkins <alan-jenkins@...fmail.co.uk>
To: rusty@...tcorp.com.au
Cc: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-modules@...r.org
Subject: module: Speed up symbol resolution during module loading
[Apologies for duplicate messages. It's debatable whether I should be trusted
with commands called names like "guilt-patchbomb". ]
The following series applies against v2.6.31. It sorts the tables of builtin
symbols, so the module loader can resolve them using a binary search.
The kbuild changes to achieve this are less scary than I expected. I'm
optimistic that they can be accepted without radical alteration :-) .
Quoting from the last patch in this series:
"On my EeePC 701, coldplug is mainly cpu bound and takes 1.5 seconds
during boot. perf showed this change eliminated 20% of cpu cycles during
coldplug, saving 0.3 seconds of real time.
These savings may not be representative since my config is not very well
tuned. The numbers above represent the loading of 35 modules,
referencing a total of 441 symbols. Nevertheless, it shows why I think
this is worth doing."
Alan
--
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