Module Name: src Committed By: ad Date: Mon Dec 16 18:30:18 UTC 2019
Modified Files: src/sys/uvm: uvm_page.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204 src/sys/uvm/uvm_page.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_page.c diff -u src/sys/uvm/uvm_page.c:1.203 src/sys/uvm/uvm_page.c:1.204 --- src/sys/uvm/uvm_page.c:1.203 Sun Dec 15 21:11:35 2019 +++ src/sys/uvm/uvm_page.c Mon Dec 16 18:30:18 2019 @@ -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 @@ uvm_pagerealloc(struct vm_page *pg, stru */ 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"); } }