Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132364457
D16085.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
854 B
Referenced Files
None
Subscribers
None
D16085.id.diff
View Options
Index: head/sys/vm/vm_page.c
===================================================================
--- head/sys/vm/vm_page.c
+++ head/sys/vm/vm_page.c
@@ -551,6 +551,9 @@
vm_paddr_t biggestsize, last_pa, pa;
u_long pagecount;
int biggestone, i, segind;
+#if defined(__i386__) && defined(VM_PHYSSEG_DENSE)
+ long ii;
+#endif
biggestsize = 0;
biggestone = 0;
@@ -789,6 +792,13 @@
* Initialize the page structures and add every available page to the
* physical memory allocator's free lists.
*/
+#if defined(__i386__) && defined(VM_PHYSSEG_DENSE)
+ for (ii = 0; ii < vm_page_array_size; ii++) {
+ m = &vm_page_array[ii];
+ vm_page_init_page(m, (first_page + ii) << PAGE_SHIFT, 0);
+ m->flags = PG_FICTITIOUS;
+ }
+#endif
vm_cnt.v_page_count = 0;
for (segind = 0; segind < vm_phys_nsegs; segind++) {
seg = &vm_phys_segs[segind];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 17, 6:18 AM (14 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23786474
Default Alt Text
D16085.id.diff (854 B)
Attached To
Mode
D16085: Copyout(9) on 4/4 i386 needs correct vm_page_array[].
Attached
Detach File
Event Timeline
Log In to Comment