aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/x86/intel_mpx.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/x86/intel_mpx.txt b/Documentation/x86/intel_mpx.txt
index 818518a3ff01..1a5a12184a35 100644
--- a/Documentation/x86/intel_mpx.txt
+++ b/Documentation/x86/intel_mpx.txt
@@ -136,7 +136,7 @@ A: MPX-enabled application will possibly create a lot of bounds tables in
136 If we were to preallocate them for the 128TB of user virtual address 136 If we were to preallocate them for the 128TB of user virtual address
137 space, we would need to reserve 512TB+2GB, which is larger than the 137 space, we would need to reserve 512TB+2GB, which is larger than the
138 entire virtual address space today. This means they can not be reserved 138 entire virtual address space today. This means they can not be reserved
139 ahead of time. Also, a single process's pre-popualated bounds directory 139 ahead of time. Also, a single process's pre-populated bounds directory
140 consumes 2GB of virtual *AND* physical memory. IOW, it's completely 140 consumes 2GB of virtual *AND* physical memory. IOW, it's completely
141 infeasible to prepopulate bounds directories. 141 infeasible to prepopulate bounds directories.
142 142
@@ -151,7 +151,7 @@ A: This would work if we could hook the site of each and every memory
151 these calls. 151 these calls.
152 152
153Q: Could a bounds fault be handed to userspace and the tables allocated 153Q: Could a bounds fault be handed to userspace and the tables allocated
154 there in a signal handler intead of in the kernel? 154 there in a signal handler instead of in the kernel?
155A: mmap() is not on the list of safe async handler functions and even 155A: mmap() is not on the list of safe async handler functions and even
156 if mmap() would work it still requires locking or nasty tricks to 156 if mmap() would work it still requires locking or nasty tricks to
157 keep track of the allocation state there. 157 keep track of the allocation state there.