summaryrefslogtreecommitdiff
path: root/net/rds/ib_cm.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-03-19 00:19:52 (GMT)
committerAndy Grover <andy.grover@oracle.com>2010-09-09 01:12:11 (GMT)
commitf17a1a55fb672d7f64be7f2e940ef5669e5efa0a (patch)
treeed1651f64ade2676101766af764d11ef98e30f41 /net/rds/ib_cm.c
parent77dd550e5547846604ff6f90c4dc6bba4414e485 (diff)
downloadlinux-f17a1a55fb672d7f64be7f2e940ef5669e5efa0a.tar.xz
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 1a91af7..75eda9c 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
rds_ib_recv_init_ring(ic);
/* Post receive buffers - as a side effect, this will update
* the posted credit count. */
- rds_ib_recv_refill(conn, GFP_KERNEL, GFP_HIGHUSER, 1);
+ rds_ib_recv_refill(conn, 1);
/* Tune RNR behavior */
rds_ib_tune_rnr(ic, &qp_attr);