summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-03-21 13:55:57 +0000
committerkib <kib@FreeBSD.org>2014-03-21 13:55:57 +0000
commit07e1d8d74fd80d6e9636b82e75fc4795171b3d46 (patch)
tree59abb9a04eb45d984ed6d9183b68a27ce14058f8
parent5c8976a1c14ecbf6318f87368b6b28e5d5f4beb4 (diff)
downloadFreeBSD-src-07e1d8d74fd80d6e9636b82e75fc4795171b3d46.zip
FreeBSD-src-07e1d8d74fd80d6e9636b82e75fc4795171b3d46.tar.gz
Initialize vm_map_entry member wiring_thread on the map entry creation.
This was missed in r253190. Reported by: hps, peter Tested by: hps Sponsored by: The FreeBSD Foundation MFC after: 3 days
-rw-r--r--sys/vm/vm_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index e15e0ca..34807ab 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1275,6 +1275,7 @@ charged:
new_entry->protection = prot;
new_entry->max_protection = max;
new_entry->wired_count = 0;
+ new_entry->wiring_thread = NULL;
new_entry->read_ahead = VM_FAULT_READ_AHEAD_INIT;
new_entry->next_read = OFF_TO_IDX(offset);
OpenPOWER on IntegriCloud