Index: sys/dev/vnd.c =================================================================== RCS file: /cvsroot/src/sys/dev/vnd.c,v retrieving revision 1.288 diff -p -u -r1.288 vnd.c --- sys/dev/vnd.c 14 Mar 2023 12:55:43 -0000 1.288 +++ sys/dev/vnd.c 19 May 2023 08:57:05 -0000 @@ -123,6 +123,8 @@ __KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.28 #include #include +#include + #include #include @@ -559,7 +561,7 @@ vndstrategy(struct buf *bp) * thread to add requests, as a wedge on vnd queues * requests with biodone() -> dkstart() -> vndstrategy(). */ - if (curlwp != vnd->sc_kthread) { + if (curlwp != vnd->sc_kthread && curlwp != uvm.pagedaemon_lwp) { while (vnd->sc_pending >= VND_MAXPENDING(vnd)) tsleep(&vnd->sc_pending, PRIBIO, "vndpc", 0); }