[PATCH] use SK_MEM_QUANTUM_SHIFT in __sk_mem_reclaim()
authorEric Dumazet <dada1@cosmosbay.com>
Mon, 31 Dec 2007 23:00:50 +0000 (15:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:27 +0000 (15:00 -0800)
commit680a5a5086443b9547b32b04f40af8f9d717f711
tree86b2a38732d03970e5d30ada9d5459a752cf1210
parentd436d68630a74ba3c898ff1b53591ddc4eb7f2bf
[PATCH] use SK_MEM_QUANTUM_SHIFT in __sk_mem_reclaim()

Avoid an expensive divide (as done in commit
18030477e70a826b91608aee40a987bbd368fec6 but lost in commit
23821d2653111d20e75472c8c5003df1a55309a8)

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c