On Thu, 15 Aug 2013, Minchan Kim wrote: > Now mlock pages could be migrated in case of CMA so I think it's not a > big problem to migrate it for other cases. > I remember You and Peter argued what's the mlock semainc of pin POV > and as I remember correctly, Peter said mlock doesn't mean pin so > we could migrate it but you didn't agree. Right? mlock means it can be migrated. Pinning is currently done by increasing the page count. Migration will be attempted but it will fail since the references cannot be all removed. Peter proposed that mlock would work like pinning so that a migration of the page would not be attempted. My concern is not only about migration but about a general way of pinning pages. Having mlock and pinning with different semantics is already an issue as the conversation with Peter brought out. Now we are adding yet another way that pinning is used. -- 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/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>