No need to call d_open/d_close for every hibernate resume i/o.
authorkrw <krw@openbsd.org>
Wed, 5 Jun 2024 11:04:17 +0000 (11:04 +0000)
committerkrw <krw@openbsd.org>
Wed, 5 Jun 2024 11:04:17 +0000 (11:04 +0000)
commitc3ed0588349d22a4c215c41baf0fca65e2a2be1b
tree9656b335b2fef59d6e4d693ced73f1ad519db4aa
parent7e484d934f2cfc47ad32cb802b6e50526ef0b246
No need to call d_open/d_close for every hibernate resume i/o.

Speeds up resuming from hibernate.

Testing florian@ stsp@

ok mlarkin@ stsp@
sys/kern/subr_hibernate.c