{"push_id":813050721,"size":1,"distinct_size":1,"ref":"refs/heads/cm-12.1","head":"d35dd908f9adc47f4988f311248ef3473bee7dbb","before":"8e54390555ccac79b92a043983773a9f272a0feb","commits":[{"sha":"d35dd908f9adc47f4988f311248ef3473bee7dbb","author":{"email":"bc04d5e582bf5c032c24683f7314bdaab249b0ae@hotmail.com","name":"mrg666"},"message":"af_unix: speedup /proc/net/unix\n/proc/net/unix has quadratic behavior, and can hold unix_table_lock for\na while if high number of unix sockets are alive. (90 ms for 200k\nsockets...)\n\nWe already have a hash table, so its quite easy to use it.\n\nProblem is unbound sockets are still hashed in a single hash slot\n(unix_socket_table[UNIX_HASH_TABLE])\n\nThis patch also spreads unbound sockets to 256 hash slots, to speedup\nboth /proc/net/unix and unix_diag.\n\nTime to read /proc/net/unix with 200k unix sockets :\n(time dd if=/proc/net/unix of=/dev/null bs=4k)\n\nbefore : 520 secs\nafter : 2 secs\n\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nCc: Steven Whitehouse <swhiteho@redhat.com>\nCc: Pavel Emelyanov <xemul@parallels.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: franciscofranco <franciscofranco.1990@gmail.com>","distinct":true,"url":"https://api.github.com/repos/TotallyAnxious/android_kernel_htc_msm8974/commits/d35dd908f9adc47f4988f311248ef3473bee7dbb"}]}