[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/45718 CVS commit: src/sys/kern
The following reply was made to PR kern/45718; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
Subject: PR/45718 CVS commit: src/sys/kern
Date: Sat, 28 Oct 2017 17:06:43 +0000
Module Name: src
Committed By: riastradh
Date: Sat Oct 28 17:06:43 UTC 2017
Allow only one pending call to a pool's backing allocator at a time.
Candidate fix for problems with hanging after kva fragmentation related
to PR kern/45718.
Proposed on tech-kern:
Tested by bouyer@ on i386.
This makes one small change to the semantics of pool_prime and
pool_setlowat: they may fail with EWOULDBLOCK instead of ENOMEM, if
there is a pending call to the backing allocator in another thread but
we are not actually out of memory. That is unlikely because nearly
always these are used during initialization, when the pool is not in
XXX pullup-6 (requires tweaking the patch)
To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 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.
Main Index |
Thread Index |