summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2013-08-03 09:39:30 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2013-08-03 09:39:30 +0000
commit4200048407018a595237472da8944fa67423f588 (patch)
tree0252802ab293aa04d7ebecdbb014dc372bf2b008 /sys/arch
parent10a0b57a46cb5e054b15611f947d4f9343e38797 (diff)
Don't flush the cache on page inflate for hibernate on amd64.
Makes the x200 and w500 and probably other machines go a bit faster during resume from hibernate. This had been in my tree since t2k13.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/acpi_wakecode.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S
index 20ce42624d7..6680c3bf7b2 100644
--- a/sys/arch/amd64/amd64/acpi_wakecode.S
+++ b/sys/arch/amd64/amd64/acpi_wakecode.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_wakecode.S,v 1.18 2013/06/04 16:21:23 mlarkin Exp $ */
+/* $OpenBSD: acpi_wakecode.S,v 1.19 2013/08/03 09:39:29 mlarkin Exp $ */
/*
* Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org>
* Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
@@ -490,7 +490,6 @@ NENTRY(hibernate_switch_stack_machdep)
ret
NENTRY(hibernate_flush)
- wbinvd
invlpg HIBERNATE_INFLATE_PAGE
ret
#endif /* HIBERNATE */