freebsd-dev/sys
Attilio Rao f08945a7d2 Introduce a new rwlocks initialization function: rw_init_flags.
This is very similar to sx_init_flags: it initializes the rwlock using
special flags passed as third argument (RW_DUPOK, RW_NOPROFILE,
RW_NOWITNESS, RW_QUIET, RW_RECURSE).
Among these, the most important new feature is probabilly that rwlocks
can be acquired recursively now (for both shared and exclusive paths).

Because of the recursion counter, the ABI is changed.

Tested by: Timothy Redaelli <drizzt@gufi.org>
Reviewed by: jhb
Approved by: jeff (mentor)
Approved by: re
2007-06-26 21:31:56 +00:00
..
amd64 Check for pte being NULL in return from pmap_pte_pde- unlikely or 2007-06-17 04:27:45 +00:00
arm The iop34x has 128 interrupts. 2007-06-16 15:03:33 +00:00
boot - Remove UMAP filesystem. It was disconnected from build three years ago, 2007-06-25 05:06:57 +00:00
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
cddl Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
coda Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
compat Try a cheap way to get around gcc4.2 believing that user arguments 2007-06-17 04:37:57 +00:00
conf - Remove UMAP filesystem. It was disconnected from build three years ago, 2007-06-25 05:06:57 +00:00
contrib Pointer to an ICMP header was getting left behind after doing a pullup. 2007-06-09 09:28:36 +00:00
crypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
ddb Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
dev Extension of previous commit- when we have 2k login firmware, we need to 2007-06-26 20:53:07 +00:00
fs Remove two function prototypes that are no longer used. 2007-06-26 02:08:29 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom Have gpart synthesize a disk geometry if the underlying provider 2007-06-17 22:19:19 +00:00
gnu Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
i4b Tell the user when the setup of the interrupt handler failed and return 2007-04-01 16:52:54 +00:00
i386 Update the suspend/resume user API while maintaining backwards compat. 2007-06-21 22:50:37 +00:00
ia64 Enable SCTP by default for GENERIC kernels in order to give it 2007-06-14 17:14:27 +00:00
isa Prototype (but functional) Linux-ish /dev/nvram interface to the extra 2007-06-15 22:58:14 +00:00
kern Introduce a new rwlocks initialization function: rw_init_flags. 2007-06-26 21:31:56 +00:00
libkern Unbreak high resolution profiling a little: use dummy asms to prevent 2007-06-13 06:17:48 +00:00
modules - Remove UMAP filesystem. It was disconnected from build three years ago, 2007-06-25 05:06:57 +00:00
net Check the correct port to see if synced is true. 2007-06-22 23:28:33 +00:00
net80211 Correct msecs_to_ticks macro. This fixes problems when hz is not the 2007-06-25 03:26:10 +00:00
netatalk Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr 2007-05-11 10:20:51 +00:00
netatm Fix various compilation warnings for gcc-4.2. 2007-06-23 00:02:20 +00:00
netgraph These modules depend on usb, make that explicit 2007-06-23 04:34:38 +00:00
netinet - Update bindx address checking to properly screen out address 2007-06-25 19:05:26 +00:00
netinet6 gcc4.2 somehow doesn't believe that finaldst can stay stable between 2007-06-17 04:12:21 +00:00
netipsec 'spi' and the return value of ntohl are unsigned. Remove the extra >=0 2007-06-16 09:25:23 +00:00
netipx Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Initialize some variables that GCC4.2 thinks might possibly be used without 2007-06-15 23:49:54 +00:00
nfs NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4client - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
nfsclient Do proper "locking" for missing vmmeters part. 2007-06-04 21:45:18 +00:00
nfsserver Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
opencrypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
pc98 Enable SCTP by default for GENERIC kernels in order to give it 2007-06-14 17:14:27 +00:00
pccard
pci Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
powerpc Reimplement bus_dmamap_load with bus_dmamap_load_buffer. 2007-06-22 03:57:36 +00:00
rpc Check for a NULL return from rpcclnt_buildheader- it can fail if 2007-06-16 05:42:26 +00:00
security Add a new MAC framework and policy entry point, 2007-06-26 14:14:01 +00:00
sparc64 - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
sun4v - Restore the machine independency of sys/dev/ofw/openfirm.{c,h} by 2007-06-16 22:30:38 +00:00
sys Introduce a new rwlocks initialization function: rw_init_flags. 2007-06-26 21:31:56 +00:00
tools Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
ufs Fix livelock that could occur when snapshoting UFS with quotas, where 2007-06-22 13:22:37 +00:00
vm Eliminate the use of Giant from vm_daemon(). Replace the unconditional 2007-06-26 18:24:05 +00:00
Makefile o Add bsm and security to a list of cscope dirs. 2007-04-14 16:29:15 +00:00