NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59411 CVS commit: src/sys/kern
The following reply was made to PR kern/59411; it has been noted by GNATS.
From: "Manuel Bouyer" <bouyer%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59411 CVS commit: src/sys/kern
Date: Mon, 26 May 2025 08:32:11 +0000
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