mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
77dd550e55
commit
f17a1a55fb
3 changed files with 10 additions and 17 deletions
|
@ -297,8 +297,7 @@ void rds_ib_flush_mrs(void);
|
|||
int __init rds_ib_recv_init(void);
|
||||
void rds_ib_recv_exit(void);
|
||||
int rds_ib_recv(struct rds_connection *conn);
|
||||
int rds_ib_recv_refill(struct rds_connection *conn, gfp_t kptr_gfp,
|
||||
gfp_t page_gfp, int prefill);
|
||||
int rds_ib_recv_refill(struct rds_connection *conn, int prefill);
|
||||
void rds_ib_inc_free(struct rds_incoming *inc);
|
||||
int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct iovec *iov,
|
||||
size_t size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue