Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-pagecache]: src/sys/uvm byebye VM_MAP_INTRSAFE
details: https://anonhg.NetBSD.org/src/rev/33bd850fb303
branches: yamt-pagecache
changeset: 770878:33bd850fb303
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Apr 18 13:40:06 2012 +0000
description:
byebye VM_MAP_INTRSAFE
diffstat:
sys/uvm/uvm_km.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 4d057c40e6e9 -r 33bd850fb303 sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Wed Apr 18 13:39:28 2012 +0000
+++ b/sys/uvm/uvm_km.c Wed Apr 18 13:40:06 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.111.2.2 2012/04/17 00:08:58 yamt Exp $ */
+/* $NetBSD: uvm_km.c,v 1.111.2.3 2012/04/18 13:40:06 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.111.2.2 2012/04/17 00:08:58 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.111.2.3 2012/04/18 13:40:06 yamt Exp $");
#include "opt_uvmhist.h"
@@ -526,8 +526,7 @@
* - we can recurse when allocating radix_node for
* kernel_object.
*/
- if ((map->flags & VM_MAP_INTRSAFE) == 0 &&
- mutex_tryenter(uvm_kernel_object->vmobjlock)) {
+ if (mutex_tryenter(uvm_kernel_object->vmobjlock)) {
struct vm_page *pg;
pg = uvm_pagelookup(uvm_kernel_object,
Home |
Main Index |
Thread Index |
Old Index