Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144412510
D48631.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
367 B
Referenced Files
None
Subscribers
None
D48631.diff
View Options
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -2017,6 +2017,9 @@
struct vm_phys_seg *seg;
int i;
+ if (phys_avail[1] == 0)
+ panic("phys_avail[] is empty");
+
for (i = 0; phys_avail[i + 1] != 0; i += 2) {
phys_avail[i] = round_page(phys_avail[i]);
phys_avail[i + 1] = trunc_page(phys_avail[i + 1]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 7:37 AM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28554261
Default Alt Text
D48631.diff (367 B)
Attached To
Mode
D48631: vm_phys_early_startup(): Panic if phys_avail[] is empty
Attached
Detach File
Event Timeline
Log In to Comment