lkml.org 
[lkml]   [2008]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-06-26 13:51    [W:0.051 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site