Skip to content
Commit 3cf72922 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Replace division by multiplication in calculation of queue length



When checking whether or not a particular xprt queue length is shorter
than the average queue length for all xprts, prefer to use multiplication
rather than division for performance reasons.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 50c80007
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment