OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jason Wright (jason_at_cvs.openbsd.org)
Date: Mon Nov 04 2002 - 09:30:36 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    CVSROOT: /cvs
    Module name: src
    Changes by: jasoncvs.openbsd.org 2002/11/04 08:30:36

    Modified files:
            sys/kern : Tag: OPENBSD_3_2 subr_pool.c

    Log message:
    Pull in patch from current:
    Fix (art):
    - 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