Places where the kernel modifies itself (.text) during runtime

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed Sep 5 21:20:56 EDT 2012


Hi Andrew...

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)
>
> 4)
> 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

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list