Messages in this thread | | | Date | Thu, 9 Apr 2015 00:08:08 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH v4 0/9] latched RB-trees and __module_address() |
| |
For the record I still think it's better to just look it up in the kernel page tables, which already maintain that information. This is a much simpler, much less risky patch. It works on all architectures that use page tables for the kernel, and have a X bit in them. The rest are likely obscure and won't have a lot of modules.
My patch implementing this for x86 is here:
http://lkml.iu.edu/hypermail/linux/kernel/1410.1/01879.html
-Andi -- ak@linux.intel.com -- Speaking for myself only.
| |