Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/kern
Module Name: src
Committed By: bouyer
Date: Mon May 26 08:32:11 UTC 2025
Modified Files:
src/sys/kern: subr_pool.c
Log Message:
Never call pr_drain_hook from pool_allocator_alloc().
In the PR_WAITOK case it's called from pool_reclaim
In the !PR_WAITOK case we're holding the pool lock and if the drain hook
wants kernel_lock we may deadlock with another thread holding
kernel_lock and calling pool_get().
Fixes PR kern/59411
To generate a diff of this commit:
cvs rdiff -u -r1.294 -r1.295 src/sys/kern/subr_pool.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index