[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V5 1/9] userfault: add pid into uffd_msg & update UF
From: |
Alexey Perevalov |
Subject: |
[Qemu-devel] [PATCH V5 1/9] userfault: add pid into uffd_msg & update UFFD_FEATURE_* |
Date: |
Fri, 12 May 2017 16:31:18 +0300 |
This commit duplicates header of "userfaultfd: provide pid in userfault msg"
into linux kernel.
Signed-off-by: Alexey Perevalov <address@hidden>
---
linux-headers/linux/userfaultfd.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/linux-headers/linux/userfaultfd.h
b/linux-headers/linux/userfaultfd.h
index 2ed5dc3..e7c8898 100644
--- a/linux-headers/linux/userfaultfd.h
+++ b/linux-headers/linux/userfaultfd.h
@@ -77,6 +77,9 @@ struct uffd_msg {
struct {
__u64 flags;
__u64 address;
+ union {
+ __u32 ptid;
+ } feat;
} pagefault;
struct {
@@ -158,6 +161,8 @@ struct uffdio_api {
#define UFFD_FEATURE_EVENT_MADVDONTNEED (1<<3)
#define UFFD_FEATURE_MISSING_HUGETLBFS (1<<4)
#define UFFD_FEATURE_MISSING_SHMEM (1<<5)
+#define UFFD_FEATURE_EVENT_UNMAP (1<<6)
+#define UFFD_FEATURE_THREAD_ID (1<<7)
__u64 features;
__u64 ioctls;
--
1.9.1
- [Qemu-devel] [PATCH V5 9/9] migration: postcopy_blocktime documentation, (continued)
- Message not available
- Message not available
- Message not available
- Message not available
Message not available
Message not available
Message not available
- [Qemu-devel] [PATCH V5 1/9] userfault: add pid into uffd_msg & update UFFD_FEATURE_*,
Alexey Perevalov <=
Message not available
- [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey Perevalov, 2017/05/12
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Dr. David Alan Gilbert, 2017/05/16
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey, 2017/05/16
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey, 2017/05/18
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Dr. David Alan Gilbert, 2017/05/19
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey Perevalov, 2017/05/22
Message not available