aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib_cm.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-03-18 20:19:52 -0400
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:12:11 -0400
commitf17a1a55fb672d7f64be7f2e940ef5669e5efa0a (patch)
treeed1651f64ade2676101766af764d11ef98e30f41 /net/rds/ib_cm.c
parent77dd550e5547846604ff6f90c4dc6bba4414e485 (diff)
RDS: Refill recv ring directly from tasklet
Performance is better if we use allocations that don't block to refill the receive ring. Since the whole reason we were kicking out to the worker thread was so we could do blocking allocs, we no longer need to do this. Remove gfp params from rds_ib_recv_refill(); we always use GFP_NOWAIT. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/ib_cm.c')
-rw-r--r--net/rds/ib_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c
index 1a91af75f4c7..75eda9c82135 100644
--- a/net/rds/ib_cm.c
+++ b/net/rds/ib_cm.c
@@ -135,7 +135,7 @@ void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_even
135 rds_ib_recv_init_ring(ic); 135 rds_ib_recv_init_ring(ic);
136 /* Post receive buffers - as a side effect, this will update 136 /* Post receive buffers - as a side effect, this will update
137 * the posted credit count. */ 137 * the posted credit count. */
138 rds_ib_recv_refill(conn, GFP_KERNEL, GFP_HIGHUSER, 1); 138 rds_ib_recv_refill(conn, 1);
139 139
140 /* Tune RNR behavior */ 140 /* Tune RNR behavior */
141 rds_ib_tune_rnr(ic, &qp_attr); 141 rds_ib_tune_rnr(ic, &qp_attr);