1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/alpha
Bosko Milekic b053bc8407 Make sure that when the PV ENTRY zone is created in pmap, that it's
created not only with UMA_ZONE_VM but also with UMA_ZONE_NOFREE.  In
the i386 case in particular, the pmap code would hook a special
page allocation routine that allocated from kernel_map and not kmem_map,
and so when/if the pageout daemon drained the zones, it could actually
push out slabs from the PV ENTRY zone but call UMA's default page_free,
which resulted in pages allocated from kernel_map being freed to
kmem_map; bad.  kmem_free() ignores the return value of the
vm_map_delete and just returns.  I'm not sure what the exact
repercussions could be, but it doesn't look good.

In the PAE case on i386, we also set-up a zone in pmap, so be
conservative for now and make that zone also ZONE_NOFREE and
ZONE_VM.  Do this for the pmap zones for the other archs too,
although in some cases it may not be entirely necessarily.  We'd
rather be safe than sorry at this point.

Perhaps all UMA_ZONE_VM zones should by default be also
UMA_ZONE_NOFREE?

May fix some of silby's crashes on the PV ENTRY zone.
2003-07-31 03:39:51 +00:00
..
alpha Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
compile
conf Enable eisa support on alpha. 2003-07-21 19:15:25 +00:00
include Deal with 'options KSTACK_PAGES' being a global option. 2003-07-31 01:31:32 +00:00
isa Mega busdma API commit. 2003-07-01 15:52:06 +00:00
linux Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
mcbus enable interrupt routing for mcpcia based systems 2003-06-28 13:47:23 +00:00
osf1 Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
pci Use __FBSDID(). 2003-06-10 17:31:31 +00:00
tlsb Use __FBSDID(). 2003-06-10 17:31:31 +00:00
Makefile