CVS commit: src/sys/miscfs/genfs
"YAMAMOTO Takashi" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: yamt Date: Wed Jun 3 15:01:01 UTC 2026 Modified Files: src/sys/miscfs/genfs: genfs_io.c Log Message: genfs_do_io: fix a pagedaemon deadlock this should fix the following panic i observed on my machine. ``` panic: out of memory before the pagedaemon thread exists cpu0: Begin traceback... vpanic() at netbsd:vpanic+0x189 panic() at netbsd:panic+0x3c uvm_wait() at netbsd:uvm_wait+0xa5 uvm_km_kmem_alloc() at netbsd:uvm_km_kmem_alloc+0x21b pool_page_alloc() at netbsd:pool_page_alloc+0x2c pool_grow() at netbsd:pool_grow+0x367 pool_get() at netbsd:pool_get+0x9f pool_cache_get_slow() at netbsd:pool_cache_get_slow+0x136 pool_cache_get_paddr() at netbsd:pool_cache_get_paddr+0x256 getiobuf() at netbsd:getiobuf+0x23 genfs_do_io() at netbsd:genfs_do_io+0xde genfs_gop_write() at netbsd:genfs_gop_write+0x52 genfs_do_putpages() at netbsd:genfs_do_putpages+0x66d VOP_PUTPAGES() at netbsd:VOP_PUTPAGES+0x43 uvm_pageout() at netbsd:uvm_pageout+0x257 cpu0: End traceback... ``` To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/miscfs/genfs/genfs_io.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.