freebsd-skq/sys
Pawel Jakub Dawidek 73864adbd4 Fix the way how "InUse" column in 'vmstat -m' output works:
- increase number of allocations count only on successfull malloc(9),
  so it doesn't confuse people;
- because we need to check if 'size > 0', hide 'mtsp->mts_memalloced += size;'
  under the check as well, as for size=0 it is of course a no-op;
- avoid critical_enter()/critical_exit() in case of failure in
  malloc_type_allocated() as there will be nothing to do.

OK'ed by:	rwatson
MFC after:	2 days
2005-07-27 23:17:31 +00:00
..
alpha Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
amd64 Add back ed(4) in amd64 GENERIC. It now works nicely and since those 2005-07-24 17:55:57 +00:00
arm msdosfs_conv.c references cmos_wall_clock and adjkerntz. Since these 2005-07-27 21:19:28 +00:00
boot Simplify SMBIOS loader variables and drop `hint.smbios.0.enabled'. 2005-07-27 19:11:10 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
compat Regen. 2005-07-13 20:35:09 +00:00
conf Connect GEOM_ELI class to the build. 2005-07-27 21:47:55 +00:00
contrib Prevent a race condition. As pf_send_tcp() - called for expired synproxy 2005-07-20 18:58:27 +00:00
crypto gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() 2005-07-27 21:03:35 +00:00
doc
fs Correct devfs ruleset bypass. 2005-07-20 13:34:16 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom MFp4: Export more informations about encrypted providers. 2005-07-27 22:31:57 +00:00
gnu Repair this: 2005-07-09 18:30:31 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Rewrite the acpi_battery interface to allow for other battery types 2005-07-23 19:36:00 +00:00
ia64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
isa Fixup some more fallout from the lapic/i8254 changes: 2005-07-13 15:43:21 +00:00
isofs/cd9660 - Change all filesystems and vfs_cache to relock the dvp once the child is 2005-04-13 10:59:09 +00:00
kern Fix the way how "InUse" column in 'vmstat -m' output works: 2005-07-27 23:17:31 +00:00
libkern Temporary restore a part of rev 1.6. 2005-07-23 16:52:57 +00:00
modules Connect GEOM_ELI class to the build. 2005-07-27 21:47:55 +00:00
net Rather than hold a mutex over calls to SYSCTL_OUT allocate a 2005-07-26 17:21:56 +00:00
net80211 when bridging internally bypass the bss node as traffic to it 2005-07-27 04:41:25 +00:00
netatalk Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is 2005-07-05 23:39:51 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph Fix missing '=' in structure initialization. 2005-07-23 19:28:51 +00:00
netinet include scope6_var.h for in6_clearscope(). 2005-07-26 00:19:58 +00:00
netinet6 Correct a buffer overflow which can occur when decompressing a 2005-07-27 08:41:17 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey scope cleanup. with this change 2005-07-25 12:31:43 +00:00
netnatm Remove FreeBSD 2.2 protocol usrreq compatibility code. 2005-07-19 13:36:39 +00:00
netncp avoid potential null ptr derefs 2005-02-23 22:44:38 +00:00
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient FIx for a bug in the change that made nfs_timer() MPSAFE. We need to 2005-07-27 15:06:26 +00:00
nfsserver NFS write gathering defers execution of NFS server write requests to wait 2005-04-17 16:25:36 +00:00
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 MFi386: revision 1.1204. 2005-07-21 11:13:12 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci - Use callout_*() rather than timeout() to periodically poll the media. 2005-07-27 13:51:01 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
rpc - Don't call rpcclnt_realign() if we don't have any mbufs to realign. 2005-03-19 01:16:25 +00:00
security Remove duplicate initialization of mpo_create_stub pointer. 2005-07-21 17:17:51 +00:00
sparc64 Add extra constraints to tell the compiler that the memory be modified 2005-07-27 20:01:45 +00:00
sys Oops, bump __FreeBSD_version to mark shared library version bump. 2005-07-23 16:42:54 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Eliminate inconsistency in the setting of the B_DONE flag. Specifically, 2005-07-20 19:06:06 +00:00
vm Rename UMA_MAX_NAME to UTH_MAX_NAME, since it's a maximum in the 2005-07-25 00:47:32 +00:00
Makefile When building cscopnamefile, default architecture to ${MACHINE}, not i386. 2005-03-08 00:09:41 +00:00