CVS commit: src/sys/uvm
"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:00:06 UTC 2026 Modified Files: src/sys/uvm: uvm_swap.c Log Message: sw_reg_strategy: 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 swstrategy() at netbsd:swstrategy+0x25a bdev_strategy() at netbsd:bdev_strategy+0x83 spec_strategy() at netbsd:spec_strategy+0x77 VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x3c uvm_swap_io() at netbsd:uvm_swap_io+0x44f swapcluster_flush.part.0() at netbsd:swapcluster_flush.part.0+0x85 uvm_pageout() at netbsd:uvm_pageout+0x47d ``` To generate a diff of this commit: cvs rdiff -u -r1.232 -r1.233 src/sys/uvm/uvm_swap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.