Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm In uvm_kmapent_alloc, Make sure entry is initialized.
details: https://anonhg.NetBSD.org/src/rev/83370d5600c5
branches: trunk
changeset: 746740:83370d5600c5
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 19 04:53:20 2009 +0000
description:
In uvm_kmapent_alloc, Make sure entry is initialized.
Spotted by msaitoh.
diffstat:
sys/uvm/uvm_map.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 911a0ba9296c -r 83370d5600c5 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Wed Aug 19 04:22:53 2009 +0000
+++ b/sys/uvm/uvm_map.c Wed Aug 19 04:53:20 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.280 2009/08/18 19:16:09 thorpej Exp $ */
+/* $NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.280 2009/08/18 19:16:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -4655,9 +4655,7 @@
KASSERT(vm_map_pmap(map) == pmap_kernel());
UVMMAP_EVCNT_INCR(uke_alloc);
-#ifndef PMAP_MAP_POOLPAGE
entry = NULL;
-#endif
again:
/*
* try to grab an entry from freelist.
Home |
Main Index |
Thread Index |
Old Index