]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/rds: Avoid copy overhead if send buff is full
authorGerd Rausch <gerd.rausch@oracle.com>
Tue, 13 Mar 2018 00:04:52 +0000 (17:04 -0700)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 29 Mar 2018 22:54:06 +0000 (15:54 -0700)
commitb82329f86a436ff15312c48b50add0140fecb59b
treeaca9ca98c890e6a0851d2020d19453a97b793f64
parent7db6d7e9209ffb4f42b64cfdecaa180b8dccbe58
net/rds: Avoid copy overhead if send buff is full

Avoid copying the message from user-space if we already
know there's not enough space in the send buffer.

Change-Id: I5ddde7d41bbaeaf25f398c721d02babd3893b73f
Orabug: 27747165
Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com>
Reviewed-by: Avinash Repaka <avinash.repaka@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
net/rds/send.c