1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00
freebsd/sys/powerpc/aim
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
..
clock.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
copyinout.c Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
interrupt.c Be more conservative about re-enabling interrupts during trap processing 2003-01-08 12:20:46 +00:00
locore.S Remove BAT invalidation. This is done later in the boot sequence, 2003-01-22 01:47:05 +00:00
machdep.c Deal with 'options KSTACK_PAGES' being a global option. 2003-07-31 01:31:32 +00:00
mmu_oea.c Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
nexus.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
ofw_machdep.c Remove #include <sys/disklabel.h> 2003-06-01 09:25:17 +00:00
ofwmagic.S Things run thru the C preprocessor must use C-style comments. 2003-05-05 10:01:10 +00:00
swtch.S Enable the FPU on first use per-thread and save state across context 2003-03-20 10:28:20 +00:00
trap_subr.S Register typo and incorrect 32-bit constant load in previous commit. 2003-02-26 14:41:39 +00:00
trap.c Range check the syscall number before looking it up in the syscallnames[] 2003-04-30 17:59:27 +00:00
vm_machdep.c Deal with 'options KSTACK_PAGES' being a global option. 2003-07-31 01:31:32 +00:00