Searched hist:"02 e8461dd42e0100144294008a2f4c5c8d2aad59" (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/uts/common/fs/zev/ |
H A D | zev.c | diff 02e8461dd42e0100144294008a2f4c5c8d2aad59 Fri Jul 11 14:37:17 CEST 2014 Andreas Jaekel <jaekel@strato-rz.de> zev: bugfix: trim queue after reading messages
The read() handler did not shorten the message queue after a successfull read, relying on other places to do that. But when the queue is full read() is the only place that can still perform work, every other thread blocks until the queue is smaller. So read() also needs to trim the queue down immediately.
(cherry picked from commit 578003757a2bbaa68f18d8d2afd161505e7e8fa2)
|