diff options
author | 2001-10-11 08:07:12 +0000 | |
---|---|---|
committer | 2001-10-11 08:07:12 +0000 | |
commit | e54ec92cc94a99e35aaf6504896294eb502eac59 (patch) | |
tree | 8bdc95d8718dcd62427b92895e458f2fc5d89469 /usr.bin/ssh/clientloop.c | |
parent | Use RNUSERS_MAXHOSTLEN, RNUSERS_MAXUSERLEN and RNUSERS_MAXLINELEN (diff) | |
download | wireguard-openbsd-e54ec92cc94a99e35aaf6504896294eb502eac59.tar.xz wireguard-openbsd-e54ec92cc94a99e35aaf6504896294eb502eac59.zip |
Count pages not buffers. This fixes deadlock condition which mainly
occurs on the fs with large block size. We can have situation where
numcleanbufs < locleanbufs and numdirtybufs < hidirtybufs. So, buffer
flushing daemon never wakeups and other processes asleep forever waiting
for a clean buffers. We count pages only for the dirty buffers which are
on freelist(BQ_DIRTY).
niklas@ found this.
Rename flasher to cleaner. Suggested by costa@.
Discussed with niklas@, costa@, millert@, art@.
Ok deraadt@.
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
0 files changed, 0 insertions, 0 deletions