Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Pick up after people who find buil...



details:   https://anonhg.NetBSD.org/src/rev/f667cb4cae0a
branches:  trunk
changeset: 754849:f667cb4cae0a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri May 14 13:04:14 2010 +0000

description:
Pick up after people who find build-testing their changes too difficult.

diffstat:

 sys/rump/librump/rumpkern/vm.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r f089f59837ee -r f667cb4cae0a sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Fri May 14 12:25:19 2010 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Fri May 14 13:04:14 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.73 2010/05/11 14:06:08 pooka Exp $    */
+/*     $NetBSD: vm.c,v 1.74 2010/05/14 13:04:14 pooka Exp $    */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.73 2010/05/11 14:06:08 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.74 2010/05/14 13:04:14 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -614,6 +614,13 @@
        rumpuser_unmap((void *)vaddr, PAGE_SIZE);
 }
 
+void
+uvm_km_va_drain(struct vm_map *map, uvm_flag_t flags)
+{
+
+       /* we eventually maybe want some model for available memory */
+}
+
 /*
  * Mapping and vm space locking routines.
  * XXX: these don't work for non-local vmspaces



Home | Main Index | Thread Index | Old Index