HomeFreeBSD

- In rw_wunlock_hard prefer to wakeup writers if there are both readers

Description

  • In rw_wunlock_hard prefer to wakeup writers if there are both readers and writers available. Doing otherwise can cause deadlocks as no read locks can proceed while there are write waiters.

Sponsored by: Nokia

Details

Provenance
jeffAuthored on Feb 7 2008, 6:16 AM
Parents
rGfb73a5ab6c53: Change shm_dotruncate() so that it correctly handles cached pages that span
Branches
Unknown
Tags
Unknown

Event Timeline