Fix floppy drives on machines with lots of RAM.
The fix works by reverting the ordering of free memory so that the chances of contig_malloc() succeeding increases. PR: 23291 Submitted by: Andrew Atrens <atrens@nortel.ca>
This commit is contained in:
parent
0c949560a1
commit
96e683d754
@ -161,7 +161,7 @@ vm_add_new_page(pa)
|
||||
m->flags = 0;
|
||||
m->pc = (pa >> PAGE_SHIFT) & PQ_L2_MASK;
|
||||
m->queue = m->pc + PQ_FREE;
|
||||
TAILQ_INSERT_HEAD(&vm_page_queues[m->queue].pl, m, pageq);
|
||||
TAILQ_INSERT_TAIL(&vm_page_queues[m->queue].pl, m, pageq);
|
||||
vm_page_queues[m->queue].lcnt++;
|
||||
return (m);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user