Home
last modified time | relevance | path

Searched hist:cb289d6244a37cf932c571d6deb0daa8030f931b (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Deventfd.hdiff cb289d6244a37cf932c571d6deb0daa8030f931b Wed Jan 13 11:34:36 CST 2010 Davide Libenzi <davidel@xmailserver.org> eventfd - allow atomic read and waitqueue remove

KVM needs a wait to atomically remove themselves from the eventfd ->poll()
wait queue head, in order to handle correctly their IRQfd deassign
operation.

This patch introduces such API, plus a way to read an eventfd from its
context.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
/openbmc/linux/fs/
H A Deventfd.cdiff cb289d6244a37cf932c571d6deb0daa8030f931b Wed Jan 13 11:34:36 CST 2010 Davide Libenzi <davidel@xmailserver.org> eventfd - allow atomic read and waitqueue remove

KVM needs a wait to atomically remove themselves from the eventfd ->poll()
wait queue head, in order to handle correctly their IRQfd deassign
operation.

This patch introduces such API, plus a way to read an eventfd from its
context.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Avi Kivity <avi@redhat.com>