summaryrefslogtreecommitdiff
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>2011-09-23 17:16:29 (GMT)
committerRoland Dreier <roland@purestorage.com>2011-10-21 16:38:49 (GMT)
commit2fc109c890f7d9620cfed8d439be071a8b2a8bbd (patch)
tree4d00e76ae4ea129a68321993bdb4190b3c7bca02 /mm/fadvise.c
parent53ab1c6498371723c31b18400fab10a902a15a63 (diff)
downloadlinux-2fc109c890f7d9620cfed8d439be071a8b2a8bbd.tar.xz
IB/qib: Optimize RC/UC code by IB operation
The memset for zeroing work completions had been unconditional. This patch removes the memset and moves the zeroing into the work completion with a more explicit field by field set. With this patch, non-ONLY/non-LAST packets will avoid the overhead since they will not generate a completion. Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions