CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2024/12/03 05:50:16

Modified files:
        sys/kern       : kern_rwlock.c 
        sys/sys        : rwlock.h 

Log message:
Revert the new rwlock implementation for now.

vfs_busy() uses RW_SLEEPFAIL in a broken way. It is possible that the
object holding the rwlock is freed while other processes are sleeping
on this lock. This worked before by luck and no longer does now since
part of the struct needs to be updated after the sleep.
vfs_busy() needs to be fixed but that will take a bit of time.
OK dlg@

Reply via email to