]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: fix the sg allocation based on actual message size
authorWei Lin Guay <wei.lin.guay@oracle.com>
Fri, 20 Nov 2015 23:14:48 +0000 (15:14 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 14 Apr 2016 00:57:30 +0000 (17:57 -0700)
commit23f90cccfba4d320e40913eea8afe5dc729ae146
treeef9564b7d54f898deffd62cf74fe4407b324c261
parentea6e04f14569f6cc92b3a112eccbf20f4c711f34
RDS: fix the sg allocation based on actual message size

Fix an issue where only PAGE_SIZE bytes are allocated per
scatter-gather entry (SGE) regardless of the actual message
size: Furthermore, use buddy memory allocation technique to
allocate/free memmory (if possible) to reduce SGE.

Orabug: 21894138
Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/message.c
net/rds/page.c