From 33e79fef4075d0a1ecacc2edf9de08bb41532de7 Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Tue, 6 Nov 2012 12:33:56 -0800 Subject: [PATCH] Revert "RDS: Bypass workqueue when queueing cong updates" Orabug: 14647229 This reverts commit 2fa57129df61bf3fb7d90c5486fe15df94091f61. Author: Andy Grover Date: Mon Mar 29 16:45:40 2010 -0700 RDS: Bypass workqueue when queueing cong updates Now that rds_send_xmit() does not block, we can call it directly instead of going through the helper thread. Signed-off-by: Andy Grover Signed-off-by: Maxim Uvarov --- net/rds/cong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/cong.c b/net/rds/cong.c index 5eade097b755..9347f21a0e22 100644 --- a/net/rds/cong.c +++ b/net/rds/cong.c @@ -217,7 +217,7 @@ void __rds_cong_queue_updates(struct rds_cong_map *map) list_for_each_entry(conn, &map->m_conn_list, c_map_item) { if (!test_and_set_bit(0, &conn->c_map_queued)) { rds_stats_inc(s_cong_update_queued); - rds_send_xmit(conn); + queue_delayed_work(rds_wq, &conn->c_send_w, 0); } } } -- 2.50.1