Re: Memory change notifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Tue, Jul 19, 2011 at 01:36, Erlon Cruz <sombrafam@xxxxxxxxx> 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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux