Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177851011
D61918.1795430820.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
568 B
Referenced Files
None
Subscribers
None
D61918.1795430820.diff
View Options
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -560,6 +560,14 @@
return (error);
}
+ /*
+ * If the domains so far end exactly at VM_LOWMEM_LIMIT, the
+ * split below would map a zero-length range below the limit,
+ * which fails. Start this domain at VM_HIGHMEM_BASE instead.
+ */
+ if (gpa == VM_LOWMEM_LIMIT)
+ gpa = VM_HIGHMEM_BASE;
+
/*
* If a domain is split by VM_LOWMEM_LIMIT then break
* its segment mapping into two parts, one below VM_LOWMEM_LIMIT
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 10:47 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41928269
Default Alt Text
D61918.1795430820.diff (568 B)
Attached To
Mode
D61918: libvmmapi: Fix setup of a NUMA domain starting at the lowmem limit
Attached
Detach File
Event Timeline