summaryrefslogtreecommitdiffstats
path: root/mm/mremap.c
diff options
context:
space:
mode:
authorFam Zheng2014-11-06 13:44:36 +0100
committerBenjamin LaHaise2014-12-13 23:50:20 +0100
commit5f785de588735306ec4d7c875caf9d28481c8b21 (patch)
tree7f405dcbe7e4b53d554ee6e4040a331a505dcd92 /mm/mremap.c
parentaio: Make it possible to remap aio ring (diff)
downloadkernel-qcow2-linux-5f785de588735306ec4d7c875caf9d28481c8b21.tar.gz
kernel-qcow2-linux-5f785de588735306ec4d7c875caf9d28481c8b21.tar.xz
kernel-qcow2-linux-5f785de588735306ec4d7c875caf9d28481c8b21.zip
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>
Diffstat (limited to 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions