]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: Don't try to allocate FMR larger than RLIMIT_MEMLOCK
authorAmir Vadai <amirv@mellanox.co.il>
Thu, 15 Apr 2010 08:57:11 +0000 (11:57 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:53 +0000 (05:04 -0700)
commit795215d3c5f911335e0868946be472d15f664cb3
tree96179be648c65143161a619350f4fb78b616d56d
parente40de60ad5975591c8c414eef09bdf5a70ff8bff
sdp: Don't try to allocate FMR larger than RLIMIT_MEMLOCK

During ZCopy. If don't have CAP_IPC_LOCK capability and current
max number of locked pages is smaller than the buffer size, split
the send into small fragments.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_zcopy.c