Re: [PATCH 01/33] mm: introduce get_user_pages_remote()
From: Balbir Singh
Date: Mon Feb 15 2016 - 01:09:52 EST
On Fri, 2016-02-12 at 13:01 -0800, Dave Hansen wrote:
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> 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?
Balbir Singh.