diff options
author | 2019-12-25 09:32:01 +0000 | |
---|---|---|
committer | 2019-12-25 09:32:01 +0000 | |
commit | 853e89072108cbcbf8f3deea4d1dd7553f832cbd (patch) | |
tree | 1a57c3d90bc9b43d582e8d7c26c2b8d3699c96dc /sys/dev/pci/drm/drm_linux.c | |
parent | TIMEOUT_INITIALIZER(9): C99 initializers (diff) | |
download | wireguard-openbsd-853e89072108cbcbf8f3deea4d1dd7553f832cbd.tar.xz wireguard-openbsd-853e89072108cbcbf8f3deea4d1dd7553f832cbd.zip |
Protect remaining fields of `struct pipe' using the pipe_lock. In order
to simplify the locking pattern, revert back to using a hand-rolled I/O
lock just like FreeBSD and NetBSD does. The state of pipes is quite
different compared to when I made use of a rwlock for the I/O lock in
revision 1.96. Most notably, the pipe_lock can now be used while
sleeping. This does imply that witness(4) tracking of the I/O lock is
lost but the implementation ends up being simpler.
ok visa@
Diffstat (limited to 'sys/dev/pci/drm/drm_linux.c')
0 files changed, 0 insertions, 0 deletions