aio: allow direct aio poll comletions for keyed wakeups
If we get a keyed wakeup for a aio poll waitqueue and wake can acquire the ctx_lock without spinning we can just complete the iocb straight from the wakeup callback to avoid a context switch. Signed-off-by: NChristoph Hellwig <hch@lst.de> Tested-by: NAvi Kivity <avi@scylladb.com>
Showing
想要评论请 注册 或 登录