OpenBSD cvs log

created 2025-02-08T00:37:27Z
begin 2025-01-29T15:01:28Z
end 2025-01-29T15:10:09Z
path src/sys
commits 1

date 2025-01-29T15:10:09Z
author mpi
files src/sys/kern/kern_rwlock.c log diff annotate
src/sys/sys/rwlock.h log diff annotate
message Simple implementation to upgrade a shared lock into an exclusive one.

This is required by upcoming changes to run the UVM fault handler in parallel.

Only uncontended locks are allowed to be upgraded, sleeping is not handled. In
other words the new RW_UPGRADE flag requires RW_NOSLEEP.

From dlg@, ok claudio@