]> git.baikalelectronics.ru Git - kernel.git/commit
rds: use list structure to track information for zerocopy completion notification
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Tue, 6 Mar 2018 15:22:34 +0000 (07:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 23:05:57 +0000 (18:05 -0500)
commit07c07d7c43fb0de5f109c576334fe06201a7710a
treed93a41326f290e18a791ab19fcb02434ed0e14c1
parent00f9bfb59ef01b0e25695ab3cabd9c21ebb5695c
rds: use list structure to track information for zerocopy completion notification

Commit 100875020b38 ("rds: deliver zerocopy completion notification
with data") removes support fo r zerocopy completion notification
on the sk_error_queue, thus we no longer need to track the cookie
information in sk_buff structures.

This commit removes the struct sk_buff_head rs_zcookie_queue by
a simpler list that results in a smaller memory footprint as well
as more efficient memory_allocation time.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/af_rds.c
net/rds/message.c
net/rds/rds.h
net/rds/recv.c