summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2013-08-03 09:39:29 +0000
committermlarkin <mlarkin@openbsd.org>2013-08-03 09:39:29 +0000
commit44b74ca7791b6e246ce8251966d5b305fc1aaee4 (patch)
treea07d4c5f2ba2f68b30ac596bddd29037da78484c
parentDelete variable left over from the diagnostic code removed by previous commit (diff)
downloadwireguard-openbsd-44b74ca7791b6e246ce8251966d5b305fc1aaee4.tar.xz
wireguard-openbsd-44b74ca7791b6e246ce8251966d5b305fc1aaee4.zip
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.
-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 */