aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/ib_send.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-01-12 12:56:06 -0800
committerAndy Grover <andy.grover@oracle.com>2010-09-08 18:11:36 -0700
commitfc445084f185cdd877bec323bfe724a361e2292a (patch)
treeeda014c09872cbbacc411ea3b89f359291ccb577 /net/rds/ib_send.c
parentRDS: cleanup/fix rds_rdma_unuse (diff)
downloadlinux-dev-fc445084f185cdd877bec323bfe724a361e2292a.tar.xz
linux-dev-fc445084f185cdd877bec323bfe724a361e2292a.zip
RDS: Explicitly allocate rm in sendmsg()
r_m_copy_from_user used to allocate the rm as well as kernel buffers for the data, and then copy the data in. Now, sendmsg() allocates the rm, although the data buffer alloc still happens in r_m_copy_from_user. SGs are still allocated with rm, but now r_m_alloc_sgs() is used to reserve them. This allows multiple SG lists to be allocated from the one rm -- this is important once we also want to alloc our rdma sgl from this pool. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/ib_send.c')
0 files changed, 0 insertions, 0 deletions