Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Back out previous silliness -- on failure no pages a...



details:   https://anonhg.NetBSD.org/src/rev/a5872edd4b2e
branches:  trunk
changeset: 329309:a5872edd4b2e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon May 19 05:48:14 2014 +0000

description:
Back out previous silliness -- on failure no pages are allocated.

diffstat:

 sys/uvm/uvm_pglist.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 0972b98ffff9 -r a5872edd4b2e sys/uvm/uvm_pglist.c
--- a/sys/uvm/uvm_pglist.c      Mon May 19 05:43:35 2014 +0000
+++ b/sys/uvm/uvm_pglist.c      Mon May 19 05:48:14 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pglist.c,v 1.64 2014/05/19 05:24:29 riastradh Exp $        */
+/*     $NetBSD: uvm_pglist.c,v 1.65 2014/05/19 05:48:14 riastradh Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.64 2014/05/19 05:24:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.65 2014/05/19 05:48:14 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -354,8 +354,6 @@
 
        uvm_kick_pdaemon();
        mutex_spin_exit(&uvm_fpageqlock);
-       if (error)
-               uvm_pglistfree(rlist);
        return (error);
 }
 



Home | Main Index | Thread Index | Old Index