Self modifying code in ARM 11 architectures

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue May 24 23:55:19 EDT 2011


Hi...

On Tue, May 24, 2011 at 17:15, Ashok Babu <ashok3d at gmail.com> wrote:
> So here my questions/doubts :
> 1) Is'nt it the kernel itself is self modifying code with lots of function
> pointers ?

AFAIK, yes there are many.. however, some of them, even in the form of
pointer assignment, are rarely changing.

But if it is changing, for sure cache needs to be flushed/invalidated.
This is especially true in SMP environment ( and don't forget memory
barrier....)


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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



More information about the Kernelnewbies mailing list