Re: How to invalidate pages mapped with nopage vm_operation

Michael Clark (michael@metaparadigm.com)
Sun, 26 May 2002 19:18:34 +0800


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/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/