diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2011-11-18 01:31:38 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2011-11-18 01:31:38 +0000 |
commit | 02f627af3b990547e5f7d6fd233a2f9069a8e32f (patch) | |
tree | 9d3e4def661014354a190a9ae803c84688b654da /sys/kern | |
parent | 89424773d1e2de04f7e7ff8e65713895eeeb9d65 (diff) |
no need to zero all the free pages since we will be skipping them with
rle.
noticed by jasper
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_hibernate.c | 5 |
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); |