diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-14 20:09:42 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-14 20:09:42 +0000 |
commit | 8968677b0a8e49f7b5bd4250a387dc45b227f25b (patch) | |
tree | 070dfbe5a0d197b55bbe62df9830839f5a38f40a /sys/kern/sys_generic.c | |
parent | 062cdec80858b7c0cc2b211bec2e16eefa14ecdb (diff) |
- Do not try to drain other pools if PR_NOWAIT and the allocator can't
give us pages. PR_NOWAIT most likely means "hey, we're coming from an
interrupt, don't mess with stuff that doesn't have proper protection".
- pool_allocator_free is called in too many places so I don't feel
comfortable without that added protection from splvm (and besides,
pool_allocator_free is rarely called anyway, so the extra spl will be
unnoticeable). It shouldn't matter when fiddling with those flags, but
you never know.
- Remove a wakeup without a matching tsleep. It's a left-over from
some other code path that I've been investigating when reworking the
pool a while ago and it should have been removed before that commit.
deraadt@ ok
Diffstat (limited to 'sys/kern/sys_generic.c')
0 files changed, 0 insertions, 0 deletions