aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-11-06 20:44:36 +0800
committerMoyster <oysterized@gmail.com>2016-08-26 20:20:27 +0200
commit1110af1c48181a469f8bf292c85d840711c8376c (patch)
tree298a0bd527deeb3b37e87cdbea49b3ac3442495b /scripts
parentf224d4e650fc999922fb030dfa79b5518f3fb389 (diff)
aio: Skip timer for io_getevents if timeout=0
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> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions