Re: Non-GPL export of invalidate_mmap_range

Stephen C. Tweedie
2004-02-19T22:06:42Z

Hi,

On Thu, 2004-02-19 at 20:56, Daniel Phillips wrote:

> OpenGFS and Sistina GFS use zap_page_range directly, essentially doing the
> same as invalidate_mmap_range but skipping any vmas belonging to MAP_PRIVATE
> mmaps.

Well, MAP_PRIVATE maps can contain shared pages too --- any page in a
MAP_PRIVATE map that has been mapped but not yet written to is still
shared, and still needs shot down on truncate().

--Stephen