freebsd-dev/sys/mips
Jayachandran C. 17dca144a2 Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.  The current usage of VM_WAIT in
case of vm_phys_alloc_contig() failure is not correct, because:

"There is no guarantee that any of the available free (or cached) pages
after the VM_WAIT will fall within the range of suitable physical
addresses.  Every time this function sleeps and a single page is freed
(or cached) by someone else, this function will be reawakened.  With
a little bad luck, you could spin indefinitely."

We also add low and high parameters to vm_contig_grow_cache() and
vm_contig_launder() so that we restrict vm_contig_launder() to the range
of pages we are interested in.

Reported by: alc

Reviewed by:	alc
Approved by:	rrs (mentor)
2010-06-04 06:35:36 +00:00
..
adm5120 Remove some stray ';'s 2010-05-13 01:50:29 +00:00
alchemy Hack to make ALCHEMY compile again... 2010-02-18 19:41:38 +00:00
atheros Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cavium Remove redundant checking of sc_leaving (uart_intr() already handles this). 2010-05-02 19:07:19 +00:00
compile
conf This pushes all of JC's patches that I have in place. I 2010-05-16 19:43:48 +00:00
idt - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
include Get rid of empty and unused KSEG0TEXT macros. 2010-05-25 05:45:16 +00:00
malta Fix MALTA64 build. 2010-04-19 09:03:34 +00:00
mips Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() 2010-06-04 06:35:36 +00:00
rmi Remove unused code in sys/mips/rmi : 2010-05-24 06:01:37 +00:00
sentry5 - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
sibyte Fix Sibyte SMP kernel breakage caused by r208249. 2010-05-18 05:12:54 +00:00