Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm uvm_km_kmem_alloc: don't hardcode kmem_va_arena
details: https://anonhg.NetBSD.org/src/rev/b9a659966c68
branches: trunk
changeset: 778794:b9a659966c68
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Apr 13 15:34:42 2012 +0000
description:
uvm_km_kmem_alloc: don't hardcode kmem_va_arena
diffstat:
sys/uvm/uvm_km.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 480a3287acdf -r b9a659966c68 sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Fri Apr 13 15:33:38 2012 +0000
+++ b/sys/uvm/uvm_km.c Fri Apr 13 15:34:42 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.124 2012/03/12 21:37:12 bouyer Exp $ */
+/* $NetBSD: uvm_km.c,v 1.125 2012/04/13 15:34:42 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -120,7 +120,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.124 2012/03/12 21:37:12 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.125 2012/04/13 15:34:42 yamt Exp $");
#include "opt_uvmhist.h"
@@ -763,7 +763,7 @@
} else {
uvm_km_pgremove_intrsafe(kernel_map, va,
va + size);
- vmem_free(kmem_va_arena, va, size);
+ vmem_free(vm, va, size);
return ENOMEM;
}
}
Home |
Main Index |
Thread Index |
Old Index