On Mon, May 14, 2012 at 7:14 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > Either that or a VMA flag, I think both infiniband and whatever new > mlock API we invent will pretty much always be VMA wide. Or does the > infinimuck take random pages out? All I really know about IB is to stay > the #$%! away from it [as Mel recently learned the hard way] :-) In general the InfiniBand pinning (calling get_user_pages()) is driven by userspace, which doesn't really know anything about VMAs. However userspace will often do madvise(DONT_FORK) on those same ranges, so we'll probably have vma boundaries match up with the ranges of pinned pages. In any case I don't see any problem with doing vma splitting in drivers/core/infiniband/umem.c if need be. - R. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>