NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59411 CVS commit: [netbsd-9] src/sys/kern
The following reply was made to PR kern/59411; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59411 CVS commit: [netbsd-9] src/sys/kern
Date: Thu, 29 May 2025 09:49:13 +0000
Module Name: src
Committed By: martin
Date: Thu May 29 09:49:13 UTC 2025
Modified Files:
src/sys/kern [netbsd-9]: subr_pool.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1956):
sys/kern/subr_pool.c: revision 1.295
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.252.2.4 -r1.252.2.5 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