]> git.hungrycats.org Git - linux/commit
[PATCH] remap file pages MAP_NONBLOCK fix
authorAndrew Morton <akpm@osdl.org>
Tue, 9 Sep 2003 17:20:33 +0000 (10:20 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 9 Sep 2003 17:20:33 +0000 (10:20 -0700)
commitbe98a9cda529bb6d415e5c28ffea4d38a4484a90
treebb57935e01afd78781018b3ed6d0dbc0cd8ed7c5
parent5335712e5238e6088f705a4707a9c35bc01e7250
[PATCH] remap file pages MAP_NONBLOCK fix

From: Rajesh Venkatasubramanian <vrajesh@eecs.umich.edu>

The remap_file_pages system call with MAP_NONBLOCK flag does not
install file-ptes when the required pages are not found in the
page cache. Modify the populate functions to install file-ptes
if the mapping is non-linear and the required pages are not found
in the page cache.

Patch is for test4-mm6. Compiles and boots. Patch tested using the
programs at:

http://www-personal.engin.umich.edu/~vrajesh/linux/remap-file-pages/
include/linux/mm.h
mm/filemap.c
mm/fremap.c
mm/shmem.c