rds: use list structure to track information for zerocopy completion notification
authorSowmini Varadhan <[email protected]>
Tue, 6 Mar 2018 15:22:34 +0000 (07:22 -0800)
committerDavid S. Miller <[email protected]>
Wed, 7 Mar 2018 23:05:57 +0000 (18:05 -0500)
commit9426bbc6de99b8649d897b94e8f5916b58195643
treed93a41326f290e18a791ab19fcb02434ed0e14c1
parentd40a126b16ea851f858f97b0e214d97c8355cecb
rds: use list structure to track information for zerocopy completion notification

Commit 401910db4cd4 ("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 <[email protected]>
Acked-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/af_rds.c
net/rds/message.c
net/rds/rds.h
net/rds/recv.c