git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a0d3e
)
aio: Skip timer for io_getevents if timeout=0
author
Fam Zheng
<famz@redhat.com>
Thu, 6 Nov 2014 12:44:36 +0000
(20:44 +0800)
committer
Benjamin LaHaise
<bcrl@kvack.org>
Sat, 13 Dec 2014 22:50:20 +0000
(17:50 -0500)
In this case, it is basically a polling. Let's not involve timer at all
because that would hurt performance for application event loops.
In an arbitrary test I've done, io_getevents syscall elapsed time
reduces from 50000+ nanoseconds to a few hundereds.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c
patch
|
blob
|
history
diff --cc
fs/aio.c
Simple merge