Re: [PATCH 01/33] mm: introduce get_user_pages_remote()
From: Dave Hansen
Date: Mon Feb 15 2016 - 11:29:46 EST
On 02/14/2016 10:09 PM, Balbir Singh wrote:
>> > 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 "remote" operations.
>> >
>> > This patch introduces a new get_user_pages() variant:
>> >
>> > get_user_pages_remote()
>> >
>> > Which is a replacement for when get_user_pages() is called on
>> > non-current tsk/mm.
>> >
> In summary then get_user_pages_remote() do not enforce protections?
Yes, exactly.