Files
kernel_arpi/include/uapi/linux
Sowmini Varadhan 0cebaccef3 rds: zerocopy Tx support.
If the MSG_ZEROCOPY flag is specified with rds_sendmsg(), and,
if the SO_ZEROCOPY socket option has been set on the PF_RDS socket,
application pages sent down with rds_sendmsg() are pinned.

The pinning uses the accounting infrastructure added by
Commit a91dbff551 ("sock: ulimit on MSG_ZEROCOPY pages")

The payload bytes in the message may not be modified for the
duration that the message has been pinned. A multi-threaded
application using this infrastructure may thus need to be notified
about send-completion so that it can free/reuse the buffers
passed to rds_sendmsg(). Notification of send-completion will
identify each message-buffer by a cookie that the application
must specify as ancillary data to rds_sendmsg().
The ancillary data in this case has cmsg_level == SOL_RDS
and cmsg_type == RDS_CMSG_ZCOPY_COOKIE.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-16 16:04:17 -05:00
..
2017-08-31 17:32:38 -04:00
2017-11-24 16:22:58 -07:00
2018-01-25 16:41:15 -08:00
2018-01-25 19:32:55 -05:00
2017-11-08 11:20:49 +09:00
2017-12-14 10:35:15 -05:00
2017-11-28 16:54:00 +01:00
2018-01-14 23:06:30 -05:00
2018-01-16 16:47:29 +01:00
2018-01-31 10:10:32 -06:00
2018-02-06 22:53:56 +00:00
2018-02-16 16:04:17 -05:00
2017-11-24 10:18:41 +00:00
2017-11-16 10:49:00 +09:00
2017-11-11 18:53:16 +09:00
2018-01-09 12:35:58 -05:00
2017-11-27 16:19:52 -05:00
2018-02-06 18:32:44 -08:00
2016-12-16 00:13:32 +02:00