Re: [PATCH v4 0/9] latched RB-trees and __module_address()

From: Andi Kleen
Date: Wed Apr 08 2015 - 18:08:20 EST



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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/