summaryrefslogtreecommitdiff
path: root/tools/arch/arm
diff options
context:
space:
mode:
authorBert Kenward <bkenward@solarflare.com>2017-02-06 16:50:55 +0000
committerDavid S. Miller <davem@davemloft.net>2017-02-06 11:59:36 -0500
commitf820c0ac6cc84d4f9cb22c77d99ea510bd5c382a (patch)
treecc445d4d83b850d5a8860ca2a36bb5138d1f86a0 /tools/arch/arm
parentd15c9ede6123dbce14c17eb9ced229e488002735 (diff)
sfc: don't rearm interrupts if busy polling
Since commit 364b6055738b ("net: busy-poll: return busypolling status to drivers"), napi_complete_done() returns a boolean that can be used by drivers to conditionally rearm interrupts. Testing with a 7142 shows a small latency improvement of ~100 ns. Signed-off-by: Bert Kenward <bkenward@solarflare.com> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/arch/arm')
0 files changed, 0 insertions, 0 deletions
the queue showed a single reference (no PERCPU_COUNT_BIAS, and __PERCPU_REF_DEAD, __PERCPU_REF_ATOMIC set) and no requests. However, conditions at the time of the race are count of PERCPU_COUNT_BIAS + 0 and __PERCPU_REF_DEAD and __PERCPU_REF_ATOMIC set. The fix is to make the tryget routines use an actual boolean internally instead of the atomic long result truncated to a int. Fixes: e625305b3907 percpu-refcount: make percpu_ref based on longs instead of ints Link: https://bugzilla.kernel.org/show_bug.cgi?id=190751 Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: e625305b3907 ("percpu-refcount: make percpu_ref based on longs instead of ints") Cc: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'drivers/usb/mtu3/mtu3_core.c')