Re: [patch] VM_IO fixes

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Thu Feb 07 2002 - 11:34:20 EST


On Thu, 7 Feb 2002, Roman Zippel wrote:

> Hi,
>
> On Wed, 6 Feb 2002, Andrew Morton wrote:
>
> > Any filesystem which implements its own mmap() method, and which
> > does not call generic_file_mmap() needs to be changed to clear
> > VM_IO inside its mmap function. All in-kernel filesystems are
> > OK, as is XFS. And the only breakage this can cause to out-of-kernel
> > filesystems is failure to include mappings in core files, and
> > inability to use PEEKUSR.
>
> You forgot shared memory via mm/shmem.c and ipc/shm.c.

Andrew, could you please send me an uptodated patch to fix that ?

> Another possibility is to test whether the driver provides a nopage
> function, as i/o areas are usually mapped with io_remap_page_range.

Eek, thats too kludgy. ;)

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



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:01:04 EST