I'm so sorry, commit message in patch is wrong. I'll resend On 04/03/2017 12:32 PM, Alexey Perevalov wrote:
Hi Andrea, This is third version of the patch. Modifications since previous versions: (v3 -> v2) - type of ptid now is __u32. As you suggested. (v2 -> v1) - process thread id is provided only when it was requested with UFFD_FEATURE_THREAD_ID bit. - pid from namespace is provided, so locking thread's gettid in namespace and msg.arg.pagefault.ptid will be equal. This patch is based on git://git.kernel.org/pub/scm/linux/kernel/git/andrea/aa.git userfault branch. HEAD commit is "userfaultfd: switch to exclusive wakeup for blocking reads" Alexey Perevalov (1): userfaultfd: provide pid in userfault msg fs/userfaultfd.c | 8 ++++++-- include/uapi/linux/userfaultfd.h | 8 +++++++- 2 files changed, 13 insertions(+), 3 deletions(-)
-- Best regards, Alexey Perevalov -- 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>