freebsd-dev/sys
Jeff Roberson af7f9b97b6 Fix the calculation that determines uz_maxpages. It was off for large zones.
Fortunately we have no large zones with maximums specified yet, so it wasn't
breaking anything.

Implement blocking when a zone exceeds the maximum and M_WAITOK is specified.
Previously this just failed like the old zone allocator did.  The old zone
allocator didn't support WAITOK/NOWAIT though so we should do what we
advertise.

While I was in there I cleaned up some more zalloc logic to further simplify
that code path and reduce redundant code.  This was needed to make the blocking
work properly anyway.
2002-04-14 01:56:25 +00:00
..
alpha Add comment that sigreturn() is MPSAFE. 2002-04-13 23:37:10 +00:00
amd64 Move do_cpuid into the correct place in this file and make 2002-04-10 21:18:46 +00:00
arm Guard against redefining __gnuc_va_list. 2002-03-24 11:25:46 +00:00
boot Unbreak this as well. 2002-04-12 15:49:30 +00:00
cam Fix 3 of the four problems with my last indentation fix. ("fixing" the 2002-04-01 05:41:33 +00:00
coda Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
compat Rework logic of syscalls that modify process credentials as described in 2002-04-13 23:11:23 +00:00
conf Turn on TGA support. 2002-04-13 22:34:16 +00:00
contrib We don't need ip_ipsec_pxy.c in userland. 2002-03-26 13:42:09 +00:00
crypto Remove __P. 2002-03-20 05:14:42 +00:00
ddb Commented out locking that would be used in the ps command if locks were 2002-04-11 21:01:34 +00:00
dev Turn on TGA support. 2002-04-13 22:34:16 +00:00
fs - Change procfs_control()'s first argument to be a thread pointer instead 2002-04-13 23:19:13 +00:00
geom Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start 2002-04-09 15:43:32 +00:00
gnu Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
i4b Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
i386 Move do_cpuid into the correct place in this file and make 2002-04-10 21:18:46 +00:00
ia64 Add comment that sigreturn() is MPSAFE. 2002-04-13 23:37:10 +00:00
isa GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
isofs/cd9660 Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
kern - Change killpg1()'s first argument to be a thread instead of a process so 2002-04-13 23:33:36 +00:00
libkern Remove bogus include of <machine/ansi.h>. 2002-04-11 06:53:40 +00:00
modules -DWI_HOSTAP no longer needed 2002-04-12 06:01:49 +00:00
net Add hostap 802.11 media type. 2002-04-12 06:10:37 +00:00
netatalk Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netatm Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netgraph Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netinet initialize local variable explicitly 2002-04-11 02:14:21 +00:00
netinet6 Unconditionalize the definition of INET_ADDRSTRLEN and 2002-04-10 11:59:02 +00:00
netipx Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netkey Remove __P. 2002-03-20 02:39:27 +00:00
netnatm Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netncp Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
netns Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netsmb Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
nfs Remove unused include. 2002-03-20 10:12:07 +00:00
nfsclient Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nfsserver Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pc98 MFi386: revision 1.517. 2002-04-11 09:45:41 +00:00
pccard Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pci Nortel Networks sells a RealTek 8139-based NIC that's basically 2002-04-11 06:12:51 +00:00
posix4 Remove __P. 2002-03-19 22:20:14 +00:00
powerpc Include <sys/cdefs.h> for definition of __BSD_VISIBLE. 2002-04-12 15:56:45 +00:00
rpc
security/lomac Use the proc lock to protect p_ucred while we read a few items from it. 2002-04-11 21:17:45 +00:00
sparc64 o Remove vm_map_growstack() and useracc() from sendsig(). Copyout() and 2002-04-13 19:17:49 +00:00
svr4
sys Turn on TGA support. 2002-04-13 22:34:16 +00:00
tools constify 2002-04-01 19:22:04 +00:00
ufs Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>. 2002-04-08 09:20:07 +00:00
vm Fix the calculation that determines uz_maxpages. It was off for large zones. 2002-04-14 01:56:25 +00:00
Makefile