public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* module: Speed up symbol resolution during module loading
@ 2009-09-22 13:38 Alan Jenkins
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Jenkins @ 2009-09-22 13:38 UTC (permalink / raw)
  To: rusty; +Cc: linux-kernel, linux-kbuild, linux-modules

[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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-24  0:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1253626112-18429-1-git-send-email-alan-jenkins@tuffmail.co.uk>
     [not found] ` <200909231002.16759.rusty@rustcorp.com.au>
2009-09-23 16:52   ` module: Speed up symbol resolution during module loading Alan Jenkins
2009-09-24  0:08     ` Rusty Russell
2009-09-22 13:38 Alan Jenkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox