From: Davide Libenzi Date: Wed, 13 Jan 2010 17:34:36 +0000 (-0800) Subject: eventfd - allow atomic read and waitqueue remove X-Git-Tag: v2.6.33-rc6~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb289d6244a37cf932c571d6deb0daa8030f931b;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed