From: Benjamin LaHaise Date: Tue, 21 Mar 2006 05:29:05 +0000 (-0800) Subject: [AF_UNIX]: use shift instead of integer division X-Git-Tag: v2.6.17-rc1~1175^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9df7d7f584666533b1bdfcf5c60a43d64689198;p=pandora-kernel.git [AF_UNIX]: use shift instead of integer division The patch below replaces a divide by 2 with a shift -- sk_sndbuf is an integer, so gcc emits an idiv, which takes 10x longer than a shift by 1. This improves af_unix bandwidth by ~6-10K/s. Also, tidy up the comment to fit in 80 columns while we're at it. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller --- Reading git-diff-tree failed