[lkml]   [2002]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] VM_IO fixes

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.
Another possibility is to test whether the driver provides a nopage
function, as i/o areas are usually mapped with io_remap_page_range. The
only exception I found are drivers under drivers/sgi/char, which use some
really dirty tricks in their nopage function.

bye, Roman

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.067 / U:2.448 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site