freebsd-dev/sys
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
amd64 Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
arm sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
boot Fix the ski loader, broken by the gcc upgrade. Update the linker 2003-07-17 01:49:59 +00:00
cam Fix the new DA_OLD_QUIRKS option for normal and module compiles. 2003-07-29 18:08:16 +00:00
coda Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
compat Try to make 'uname -a' look more like it does on Linux: 2003-07-29 10:03:15 +00:00
conf Enforce -fno-strict-aliasing to override the converse that is implied by 2003-07-30 22:11:36 +00:00
contrib Make this compile on 64 bit systems again. You cannot just cast a 32 bit 2003-07-28 10:25:26 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Whitespace nit. 2003-07-30 20:59:36 +00:00
dev Make this at least compile on 64 bit platforms. Its been breaking 2003-07-30 20:09:22 +00:00
fs Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
geom Fix a memory leak in CCD's mirror code. 2003-07-29 20:04:06 +00:00
gnu Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
i4b Undo agressive inlining which GCC previously wisely ignored. 2003-07-23 17:58:41 +00:00
i386 Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
ia64 Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
isa Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 2003-07-12 18:36:04 +00:00
isofs/cd9660 Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
kern When ktracing context switches, make sure we record involuntary switches. 2003-07-31 01:36:24 +00:00
libkern Backed out the micro-optimization in 1.4. It was to help gcc-2.6.3 2003-07-25 15:54:23 +00:00
modules Fix the new DA_OLD_QUIRKS option for normal and module compiles. 2003-07-29 18:08:16 +00:00
net Implement a mechanism by which ATM drivers can inform interested 2003-07-29 13:04:52 +00:00
net80211 add monitor mode 2003-07-21 02:49:42 +00:00
netatalk
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Process events from the ATM drivers. Carrier change and PVC change 2003-07-29 16:27:23 +00:00
netinet o Do not overwrite saved interrupt priority level by alloc_hash(), 2003-07-25 09:59:16 +00:00
netinet6 Cleanup useless break. 2003-07-29 14:10:13 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Instead of returning an error call the ioctl() handler of the interface 2003-07-15 15:51:50 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Reserve space for the trailing null byte in the srvname member of 2003-07-27 11:36:00 +00:00
nfs
nfsclient Fix a problem that occurs when truncating files on NFSv3 mounts: we need 2003-07-29 00:17:29 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Cosmetic: fix disorder of opt_kstack_pages.h include. 2003-07-31 01:26:40 +00:00
pccard OLDCARD is OBSOLETE_IN_6. Tag it as such. 2003-06-12 04:46:43 +00:00
pci Use the BUS_DMA_ZERO flag. 2003-07-27 14:38:54 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc Make sure that when the PV ENTRY zone is created in pmap, that it's 2003-07-31 03:39:51 +00:00
rpc
security Remove trailing whitespace. 2003-07-05 01:24:36 +00:00
sparc64 Deal with 'options KSTACK_PAGES' being a global option. 2003-07-31 01:31:32 +00:00
sys Bump __FreeBSD_version to indicate GCC 3.3.1-pre import. 2003-07-31 01:45:35 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Rename VOP_RMEXTATTR() to VOP_DELETEEXTATTR() for consistency with the 2003-07-28 18:53:29 +00:00
vm Add #include "opt_kstack_pages.h" and "opt_kstack_max_pages.h" to remain 2003-07-31 01:25:05 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00