Places where the kernel modifies itself (.text) during runtime
mulyadi.santosa at gmail.com
Wed Sep 5 21:20:56 EDT 2012
On Thu, Sep 6, 2012 at 2:56 AM, Andrew Case <atcuno at gmail.com> wrote:
> So far I have identified:
> 1) smp_locks
> 2) .alt_instructions - although from writing a script to parse the
> alt_instr structures, it seems these may not affect .text, any
> clarification on this would be greatly appreciated.
> 3) dynamic ftracing (related to mcount)
> I also see where the paravirt instructions (PVOP_CALL4) seems to
> compile as absolute call instructions, but then become relative calls
> at runtime.
maybe also kprobe and dynamic printk
Freelance Linux trainer and consultant
More information about the Kernelnewbies