[PATCH 01/34] mm, gup: introduce concept of "foreign" get_user_pages()

2015-12-03 Thread Dave Hansen
From: Dave Hansen For protection keys, we need to understand whether protections should be enforced in software or not. In general, we enforce protections when working on our own task, but not when on others. We call these "current" and "foreign" operations. This introduces two new

[PATCH 01/34] mm, gup: introduce concept of "foreign" get_user_pages()

2015-12-03 Thread Dave Hansen
From: Dave Hansen For protection keys, we need to understand whether protections should be enforced in software or not. In general, we enforce protections when working on our own task, but not when on others. We call these "current" and "foreign" operations. This