K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-02T19:09:49.749351Z K 7 svn:log V 703 MFC: r216634, r216673 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_int(9) and atomic_clear_int(9) but without unnecessary LOCK prefix for SMP. Add comments about the rationale. 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 four bytes. Fix some style(9) nits in pcb.h while I am in the neighborhood. END