From: David S. Miller Date: Thu, 17 Jul 2014 06:30:25 +0000 (-0700) Subject: Merge branch 'udp_hash' X-Git-Tag: firefly_0821_release~176^2~3474^2~144 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e18a44590a363b6785f12f87167d46be4421ed5b;p=firefly-linux-kernel-4.4.55.git Merge branch 'udp_hash' David Held says: ==================== udp: Fix multicast performance issues. Fix performance issues with listening to many different multicast sockets on different addresses with the same port. Instead of always using hash1, fall back to hash2 lookup when hash1 lookup is long. Patch 1 is a general cleanup and simplification which also makes the main implementation in Patch 2 simpler. Eric's recent change 63c6f81cdde5 avoided this being an issue in early demux. This makes it work for regular delivery as well. v1->v2 - updated hash collision detection v2->v3 - avoid flushing under lock unnecessarily at ARRAY_SIZE boundary ==================== Signed-off-by: David S. Miller --- e18a44590a363b6785f12f87167d46be4421ed5b