public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* Module with 36K relocation entries
@ 2007-11-01 23:34 Medve Emilian-EMMEDVE1
  2007-11-01 23:57 ` Nathan Lynch
  0 siblings, 1 reply; 6+ messages in thread
From: Medve Emilian-EMMEDVE1 @ 2007-11-01 23:34 UTC (permalink / raw)
  To: linuxppc-dev

Hello,


I have module with 36K relocation entries (I know, I know, how could
that be...) and the count_relocs() function takes ~17 seconds to crunch
through the relocation table from the .rela.text section. I don't think
I can reduce the number of entries in the relocation table (can I?) so
I'm thinking at improving the performance of count_relocs() (currently
O(n^2)). Does anybody have a simpler idea? Does anyone have any
constructive suggestion on how to improve the situation?


Thank you,
Emil.

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

end of thread, other threads:[~2007-11-07  1:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 23:34 Module with 36K relocation entries Medve Emilian-EMMEDVE1
2007-11-01 23:57 ` Nathan Lynch
2007-11-06  2:33   ` [RFC/PATCH] reduce load time for modules with lots of relocs Nathan Lynch
2007-11-06  4:29     ` Stephen Rothwell
2007-11-06 23:58     ` Medve Emilian
2007-11-07  1:19       ` Nathan Lynch

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