]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: only put sockets that have seen congestion on the poll_waitq
authorAndy Grover <andy.grover@oracle.com>
Wed, 24 Feb 2010 01:37:50 +0000 (17:37 -0800)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:22 +0000 (16:41 -0700)
commit8f802460007d2476def9a7137df0e48521684a49
treef7a02ce4868a9eed9244eb0fd7de79ccfbc8f4ae
parentd75a06413ce0dfc0bc490081027048833214d51e
RDS: only put sockets that have seen congestion on the poll_waitq

rds_poll_waitq's listeners will be awoken if we receive a congestion
notification. Bad performance may result because *all* polled sockets
contend for this single lock. However, it should not be necessary to
wake pollers when a congestion update arrives if they have never
experienced congestion, and not putting these on the waitq will
hopefully greatly reduce contention.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
net/rds/af_rds.c
net/rds/rds.h
net/rds/send.c