Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm In uvm_page_recolor(), kmem_free() old ...
details: https://anonhg.NetBSD.org/src/rev/7aa5e554fe76
branches: trunk
changeset: 318451:7aa5e554fe76
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Apr 24 16:35:53 2018 +0000
description:
In uvm_page_recolor(), kmem_free() old size rather than new size.
>From Yaniv Abraham-Rabinovitch in PR kern/53208.
diffstat:
sys/uvm/uvm_page.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9c7b76aa1290 -r 7aa5e554fe76 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Tue Apr 24 08:22:16 2018 +0000
+++ b/sys/uvm/uvm_page.c Tue Apr 24 16:35:53 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.195 2017/12/02 08:15:43 mrg Exp $ */
+/* $NetBSD: uvm_page.c,v 1.196 2018/04/24 16:35:53 jakllsch 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.195 2017/12/02 08:15:43 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.196 2018/04/24 16:35:53 jakllsch Exp $");
#include "opt_ddb.h"
#include "opt_uvm.h"
@@ -769,7 +769,7 @@
mutex_spin_exit(&uvm_fpageqlock);
if (oldbucketmemsize) {
- kmem_free(oldbucketarray, recolored_pages_memsize);
+ kmem_free(oldbucketarray, oldbucketmemsize);
}
/*
Home |
Main Index |
Thread Index |
Old Index