Go to file
David van Moolenbroek f202792edf VM: fix for handling one-shot page memory
The original one-shot page patch (git-e321f65) did not account for the
possibility of pagefaults happening while copying memory in the
kernel.  This allowed a simple cp(1) from vbfs to hang the system,
since VM was repeatedly requesting the same page from the file system.

With this fix, VM no longer tries to fetch the same memory-mapped page
from VFS more than once per memory handling request from the kernel.
In addition to fixing the original issue, this change should make
handling memory somewhat more robust and ever-so-slightly faster.

Test74 has been extended with a simple test for this case.

Change-Id: I6e565f3750141e51b52ec98c938f8e1aa40070d0
2015-02-10 13:47:27 +00:00
bin Importing bin/sh 2014-08-29 12:56:04 -04:00
common ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
distrib ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
docs Clearing history in docs/UPDATING 2014-08-01 14:58:40 +02:00
etc dp8390: update, allow default port and IRQ 2014-12-04 12:10:46 +00:00
external ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
games Import NetBSD games/fish command. 2014-09-25 02:03:28 +02:00
gnu Update download urls in fetch.sh 2014-08-07 14:27:32 +02:00
include New sources layout 2014-07-31 16:00:30 +02:00
lib ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
libexec LLVM Minix changes 2014-07-28 17:05:59 +02:00
minix VM: fix for handling one-shot page memory 2015-02-10 13:47:27 +00:00
releasetools Allow u-boot repository URL to be overridden 2015-02-05 14:04:31 +01:00
sbin INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
share ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
sys ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
tests LLVM Minix changes 2014-07-28 17:05:59 +02:00
tools buildsystem: fix build errors for x86 on OSX 2014-11-04 11:00:29 +01:00
usr.bin ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
usr.sbin Import NetBSD shell environment files 2014-11-10 16:48:56 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00