summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-07-14 14:33:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-07-14 14:33:07 +0000
commit3af178079cbe2efbfa4a5c1c6b27dd6296e47c08 (patch)
treea471eda4be20da858a8cd336b1041071980e4aee /sys/dev
parent40c32dad49745b2ea3e9f37862e029f6c228782a (diff)
A pty write containing VDISCARD, VREPRINT, or various retyping cases of
VERASE would perform (sometimes irrelevant) compute in the kernel which can be heavy (especially with our insufficient tty subsystem locking). Use tsleep_nsec for 1 tick in such circumstances to yield cpu, and also bring interruptability to ptcwrite() https://syzkaller.appspot.com/bug?extid=462539bc18fef8fc26cc ok kettenis millert, discussions with greg and anton
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions