freebsd-skq/sys/amd64
jkim 24b08bca03 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
..
acpica Reinitialize PAT MSR via pmap_init_pat() while resuming. This function does 2010-11-23 16:12:35 +00:00
amd64 Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
compile Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64 2008-11-22 16:14:52 +00:00
conf Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching 2010-12-13 12:15:46 +00:00
ia32 Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
include Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
linux32 Improve PCB flags handling and make it more robust. Add two new functions 2010-12-22 00:18:42 +00:00
pci number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00