]> err.no Git - linux-2.6/commit
[PATCH] IB uverbs: memory pinning implementation
authorRoland Dreier <rolandd@cisco.com>
Fri, 8 Jul 2005 00:57:14 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:48 +0000 (18:23 -0700)
commiteb8ffbfed50e7945c024a80e3688d5beffa3b641
tree6b32628db0560e2f093efc50e7a0630b9bb678d0
parentbc38a6abdd5a50e007d0fcd9b9b6280132b79e62
[PATCH] IB uverbs: memory pinning implementation

Add support for pinning userspace memory regions and returning a list of pages
in the region.  This includes tracking pinned memory against vm_locked and
preventing unprivileged users from exceeding RLIMIT_MEMLOCK.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/uverbs_mem.c [new file with mode: 0644]