From: Andy Grover Date: Mon, 29 Mar 2010 23:45:40 +0000 (-0700) Subject: RDS: Bypass workqueue when queueing cong updates X-Git-Tag: v2.6.37-rc1~147^2~499^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fa57129df61bf3fb7d90c5486fe15df94091f61;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- diff --git a/net/rds/cong.c b/net/rds/cong.c index c741e90..75ea686 100644 --- a/net/rds/cong.c +++ b/net/rds/cong.c @@ -221,7 +221,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); - queue_delayed_work(rds_wq, &conn->c_send_w, 0); + rds_send_xmit(conn); } }