Re: [PATCH] modules: Take a shortcut for checking if an address isin a module

From: Ingo Molnar
Date: Wed Jun 18 2008 - 06:01:16 EST



* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> > Nothing wrong with the idea, but how about a nice
> > arch_maybe_module_addr() macro rather than ifdefs in module.c?
>
> Everytime someone says that, I go crawl under my desk and weep quietly
> for 10 minutes.

i've added your patch for testing purposes to tip/out-of-tree.

(An updated patch with the module.h change suggested by Rusty, as long
as acked by Rusty could go into tip/core/locking and thus show up in
linux-next as well.)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/