aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefan Roscher <[email protected]>2008-12-05 19:25:38 +0000
committerRoland Dreier <[email protected]>2008-12-05 19:25:38 +0000
commit1c721940ddd6496508f1f2fde5167b1c898b419b (patch)
treed0ea3b596a617a6bdacbe0a23946808be80ba732 /net/unix/af_unix.c
parentIB/ehca: Fix locking for shca_list_lock (diff)
downloadkernel-1c721940ddd6496508f1f2fde5167b1c898b419b.tar.gz
kernel-1c721940ddd6496508f1f2fde5167b1c898b419b.zip
IB/ehca: Replace modulus operations in flush error completion path
With the latest flush error completion patch we introduced modulus operation to calculate the next index within a qmap. Based on comments from other mailing lists we decided to optimize this operation by using an addition and an if-statement instead of modulus, even though this is on the error path. Signed-off-by: Stefan Roscher <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions