android_kernel_xiaomi_sm8350/net/unix
Benjamin LaHaise e9df7d7f58 [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 <benjamin.c.lahaise@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 21:29:05 -08:00
..
af_unix.c [AF_UNIX]: use shift instead of integer division 2006-03-20 21:29:05 -08:00
garbage.c [AF_UNIX]: Use spinlock for unix_table_lock 2006-01-03 13:10:59 -08:00
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl_net_unix.c [NET]: Fix sparse warnings 2005-08-29 16:01:32 -07:00