summaryrefslogtreecommitdiff
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-16 12:25:17 +0200
committerChristoph Hellwig <hch@lst.de>2018-08-06 10:24:39 +0200
commite8693bcfa0b4a56268946f0756153d942cb66cf7 (patch)
tree49ee2926bf5140d84172acb5f60ffd44b336e014 /fs/timerfd.c
parentbfe4037e722ec672c9dafd5730d9132afeeb76e9 (diff)
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: Christoph Hellwig <hch@lst.de> Tested-by: Avi Kivity <avi@scylladb.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions