Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Merge from yamt-pagecache:



details:   https://anonhg.NetBSD.org/src/rev/0d6c4fd23075
branches:  trunk
changeset: 1005676:0d6c4fd23075
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Dec 16 18:30:18 2019 +0000

description:
Merge from yamt-pagecache:

uvm_pagerealloc(): Don't bother with insert to new.  Nobody uses it and it
can return an error now due to radixtree.

diffstat:

 sys/uvm/uvm_page.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r f1557f7c9f27 -r 0d6c4fd23075 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Mon Dec 16 18:17:32 2019 +0000
+++ b/sys/uvm/uvm_page.c        Mon Dec 16 18:30:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.203 2019/12/15 21:11:35 ad Exp $        */
+/*     $NetBSD: uvm_page.c,v 1.204 2019/12/16 18:30:18 ad Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.203 2019/12/15 21:11:35 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.204 2019/12/16 18:30:18 ad Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvm.h"
@@ -1123,9 +1123,10 @@
         */
 
        if (newobj) {
-               pg->uobject = newobj;
-               pg->offset = newoff;
-               uvm_pageinsert(newobj, pg);
+               /*
+                * XXX we have no in-tree users of this functionality
+                */
+               panic("uvm_pagerealloc: no impl");
        }
 }
 



Home | Main Index | Thread Index | Old Index