May 25, 2011
3:55 a.m.
Hi... On Tue, May 24, 2011 at 17:15, Ashok Babu <ashok3d@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