Places where the kernel modifies itself (.text) during runtime
From: Mulyadi Santosa <hidden>
Date: 2012-09-06 01:20:56
From: Mulyadi Santosa <hidden>
Date: 2012-09-06 01:20:56
Hi Andrew... On Thu, Sep 6, 2012 at 2:56 AM, Andrew Case [off-list ref] 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