On Mon, 14 May 2012, Peter Zijlstra wrote: > > A PG_pinned could allow us to make that distinction to avoid overhead in > > the reclaim and page migration logic and also we could add some semantics > > that avoid page faults. > > 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] :-) Devices (also infiniband) register buffers allocated on the heap and increase the page count of the pages. Its not VMA bound. Creating a VMA flag would force device driver writers to break up VMAs I think. -- 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>