summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_fault.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 176716d..cc138c3 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -683,7 +683,7 @@ readrest:
* dirty in the first object so that it will go out
* to swap when needed.
*/
- if (map_generation == fs.map->timestamp &&
+ if (
/*
* Only one shadow object
*/
@@ -704,14 +704,7 @@ readrest:
/*
* We don't chase down the shadow chain
*/
- (fs.object == fs.first_object->backing_object) &&
-
- /*
- * grab the lock if we need to
- */
- (fs.lookup_still_valid || vm_map_trylock(fs.map))) {
-
- fs.lookup_still_valid = 1;
+ fs.object == fs.first_object->backing_object) {
/*
* get rid of the unnecessary page
*/
OpenPOWER on IntegriCloud