]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: avoid large pages for sg allocation for TCP transport
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 25 Jun 2016 21:56:18 +0000 (14:56 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 03:29:48 +0000 (20:29 -0700)
commit2d80dcbe382c54ba0c7ddb45682949d8602ea5ba
tree4edeb65ec1d09fea6ed47bb84d668e6fb9d43a4a
parent37f59c0b9fda81d0f7bc8ace7f2cd0de0a6ef9bb
RDS: avoid large pages for sg allocation for TCP transport

To reduce SGEs, commit '23f90cc {"RDS: fix the sg allocation based
on actual message size" used buddy allocator to allocate large
pages based on messages size.

This change though seems to create issue for TCP transport most
likely triggering memory leak some where in RDS TCP driver path.
The same core code with large pages seems to work just fine with
IB transport.

Patch avoids the hugepage allocation for RDS TCP sockets.

Orabug: 23635336

Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/af_rds.c
net/rds/bind.c
net/rds/ib_recv.c
net/rds/message.c
net/rds/page.c
net/rds/rds.h
net/rds/send.c