summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2011-11-18 01:31:37 +0000
committermlarkin <mlarkin@openbsd.org>2011-11-18 01:31:37 +0000
commitdbac8ae075db574fbfd0ae3db40ba3047bc0ff72 (patch)
treebbb0ff7ee673644a8b49fc7c7780b68ddb2c3353 /sys/kern/subr_hibernate.c
parentSupport parenthised subexpressions in apropos(1); (diff)
downloadwireguard-openbsd-dbac8ae075db574fbfd0ae3db40ba3047bc0ff72.tar.xz
wireguard-openbsd-dbac8ae075db574fbfd0ae3db40ba3047bc0ff72.zip
no need to zero all the free pages since we will be skipping them with
rle. noticed by jasper
Diffstat (limited to 'sys/kern/subr_hibernate.c')
-rw-r--r--sys/kern/subr_hibernate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c
index a8b560e8142..17f74030a08 100644
--- a/sys/kern/subr_hibernate.c
+++ b/sys/kern/subr_hibernate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_hibernate.c,v 1.27 2011/11/18 00:51:27 jasper Exp $ */
+/* $OpenBSD: subr_hibernate.c,v 1.28 2011/11/18 01:31:37 mlarkin Exp $ */
/*
* Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl>
@@ -1764,9 +1764,6 @@ hibernate_suspend(void)
global_piglet_va = hib_info.piglet_va;
- /* XXX - Won't need to zero everything with RLE */
- uvm_pmr_zero_everything();
-
if (hibernate_write_chunks(&hib_info))
return (1);