aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-12-02 16:57:44 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2014-12-12 23:32:31 -0800
commit37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde (patch)
treeb82fdaddb210cf6c69c9411014db8a705038dfe0 /tools/perf/scripts/python
parentiser-target: Remove an atomic operation from the IO path (diff)
downloadlinux-37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde.tar.gz
linux-37d9fe80a3afc87a3d9f3d83aa0e6137f9fd7cde.zip
iser-target: Introduce isert_poll_budget
In case the CQ is packed with completions, we can't just hog the CPU forever. Poll until a sufficient budget (currently hard-coded to 64k completions) and if budget is exhausted, bailout and give a chance to other threads. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions