summaryrefslogtreecommitdiff
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-06-20 04:20:36 +0000
committerAlan Cox <alc@FreeBSD.org>2003-06-20 04:20:36 +0000
commite50346b5e0b13a07c8afc3a93cb64a4969a47be2 (patch)
tree2a547e9d68208ee066d7e17ad9e7550e69a3a0f5 /sys/vm/vm_fault.c
parent062cf543fcbc502a7a1d15a425af2d818e4d66da (diff)
Notes
Diffstat (limited to 'sys/vm/vm_fault.c')
-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 176716d32bc1..cc138c3c486e 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
*/