hibernate_suspend() should not pmap_kremove by itself; hibernate_free()
authorderaadt <deraadt@openbsd.org>
Mon, 12 Jan 2015 07:11:41 +0000 (07:11 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 12 Jan 2015 07:11:41 +0000 (07:11 +0000)
commitdcbeefea7ffc6d1928cb859364fb99b6a17eab08
treebe96b75f778ed6ab35cf8658207eeec143d0df9b
parent30e335c298b8afe2dd0ec0263e8cf58ba9638dc6
hibernate_suspend() should not pmap_kremove by itself; hibernate_free()
must do that.  otherwise, pmap_kremove is called twice.  i386 in particular
does not tolerate that, found by sebastia
ok mlarkin kettenis
sys/kern/subr_hibernate.c