diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-03-05 17:08:01 +0000 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-03-09 16:41:31 +0000 |
| commit | 3aa221b382c9b36db1750ef5ed340b6566aacb8c (patch) | |
| tree | bdc6ceb75661f05b66ab4b77e9a4a59c0da1e490 /scripts/modules/module_block.py | |
| parent | e4346192f1c2e1683a807b46efac47ef0cf9b545 (diff) | |
| download | focaccia-qemu-3aa221b382c9b36db1750ef5ed340b6566aacb8c.tar.gz focaccia-qemu-3aa221b382c9b36db1750ef5ed340b6566aacb8c.zip | |
aio-posix: move RCU_READ_LOCK() into run_poll_handlers()
Now that run_poll_handlers_once() is only called by run_poll_handlers() we can improve the CPU time profile by moving the expensive RCU_READ_LOCK() out of the polling loop. This reduces the run_poll_handlers() from 40% CPU to 10% CPU in perf's sampling profiler output. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Link: https://lore.kernel.org/r/20200305170806.1313245-3-stefanha@redhat.com Message-Id: <20200305170806.1313245-3-stefanha@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions