Messages in this thread | | | Date | Thu, 26 Jun 2008 13:48:34 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] modules: Take a shortcut for checking if an address is in a module |
| |
* Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Thursday 12 June 2008 10:20:58 Rusty Russell wrote: > > Or, we could actually make those as variables and update them in module.c > > itself. No arch changes required, and pretty easy to understand. > > And since you didn't reply, here's the patch. > > modules: Take a shortcut for checking if an address is in a module > > This patch keeps track of the boundaries of module allocation, in > order to speed up module_text_address(). > > Inspired by Arjan's version, which required arch-specific defines:
great - i've also put this into tip/out-of-tree for more testing.
Ingo
| |