Re: How to invalidate pages mapped with nopage vm_operation

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

 



I got no reply from kernel-newbies. Any one can help me?

Do I use zap_page_range() ?? This doesn't seem to be
exported to modules. Any ideas what to do?

~mc

On 05/24/02 22:47, Michael Clark wrote:

> Hi,
>
> I have a char driver that implements mmap by overriding the
> nopage vm_operation (rather than using remap_page_range).
>
> What it the correct way to invalidate these mappings
> so I will re-take a fault on the next access to the addresses
> previously mapped by my nopage function?
>
> ~mc
>
>
>
> -- 
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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