freebsd-dev/sys
Jung-uk Kim e6c006d96a Improve PCB flags handling and make it more robust. Add two new functions
for manipulating pcb_flags.  These inline functions are very similar to
atomic_set_char(9) and atomic_clear_char(9) but without unnecessary LOCK
prefix for SMP.  Add comments about the rationale[1].  Use these functions
wherever possible.  Although there are some places where it is not strictly
necessary (e.g., a PCB is copied to create a new PCB), it is done across
the board for sake of consistency.  Turn pcb_full_iret into a PCB flag as
it is safe now.  Move rarely used fields before pcb_flags and reduce size
of pcb_flags to one byte.  Fix some style(9) nits in pcb.h while I am in
the neighborhood.

Reviewed by:	kib
Submitted by:	kib[1]
MFC after:	2 months
2010-12-22 00:18:42 +00:00
..
amd64 Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
arm Fix double ;; 2010-12-06 10:24:06 +00:00
boot Give a bit of a hint of the failure (read != expected) but don't make 2010-11-25 03:16:31 +00:00
bsm
cam Fix a few issues related to the XPT_GDEV_ADVINFO CCB. 2010-12-10 21:38:51 +00:00
cddl cyclic xcall: use smp_no_rendevous_barrier as setup function parameter 2010-12-17 18:22:50 +00:00
compat Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
conf - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
contrib Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9. 2010-12-19 11:37:44 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb
dev - Add a comment regarding the fact that as documented in the datasheet 2010-12-21 21:12:18 +00:00
fs Fix two vnode locking problems in nfsd_recalldelegation() in the 2010-12-17 22:18:09 +00:00
gdb
geom Don't warn if a partition appears not to be aligned on a track boundary. 2010-12-07 20:46:11 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
ia64 Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
isa
kern Initialize fp_location for explicitly managed fail points, and push 2010-12-21 18:23:03 +00:00
kgssapi
libkern
mips o) Add support for the Lanner MR-321X/MR-325, which is just a modified MR-320. 2010-12-16 07:20:38 +00:00
modules Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9. 2010-12-19 11:37:44 +00:00
net Adds IFF_CANTCONFIG to IFF_CANTCHANGE that it shouldn't happen through 2010-12-07 20:31:04 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Simplify ng_pipe locking model by relying on the netgraph framework 2010-11-24 16:02:58 +00:00
netinet Fix a typo in a comment. 2010-12-21 19:30:24 +00:00
netinet6 Loosen the locking in nd6-free() again after r216022 to avoid 2010-12-07 22:43:29 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp
netsmb
nfs
nfsclient Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
nfsserver Use newly added NFSRV_FLAG_BUSY flag for nfsrv_fhtovp() to keep mount point 2010-12-21 23:15:40 +00:00
nlm
opencrypto
pc98 Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
pci
powerpc Memory can be laid out with large gaps on 64-bit PowerPC, so switch to 2010-12-20 14:25:01 +00:00
rpc
security
sparc64 Extend the hack of r182730 to trick GAS/GCC into compiling access to 2010-12-21 22:03:12 +00:00
sun4v Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
sys Close body of the VFS_UNLOCK_GIANT() macro into do { } while (0) loop, 2010-12-21 21:59:21 +00:00
teken Use proper bounds checking on VPA. 2010-12-05 10:15:23 +00:00
tools
ufs Journal start looks up .sujournal file by doing lookup on the root dvp. 2010-12-01 21:19:11 +00:00
vm Introduce vm_fault_hold() and use it to (1) eliminate a long-standing race 2010-12-20 22:49:31 +00:00
x86 Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
xdr
xen Fix a typo in a comment. 2010-12-14 20:57:40 +00:00
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00