Memory change notifications

Mulyadi Santosa mulyadi.santosa at gmail.com
Tue Jul 19 07:36:30 EDT 2011


Hi...

On Tue, Jul 19, 2011 at 01:36, Erlon Cruz <sombrafam at gmail.com> wrote:
> Hi all,
>
> I have a device driver that implements a mmap in a char device. I would like
> to know if is possible to get notified(in that kernel module) every time a
> process change its mapped memory. Does anyone know if so?

hm, IMHO no, it doesn't know....unless your device send somekind of
"feedback" everytime it gets read. Or, I know it's dirty....mark the
related pages as read-only and intercept the fault? (would be not just
dirty, but awful I think...)

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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



More information about the Kernelnewbies mailing list