Hi...

On Tue, Jul 19, 2011 at 01:36, Erlon Cruz <[email protected]> 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

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to