Move pcb_flags to make trivially better use of cache lines.

This commit is contained in:
Peter Wemm 2008-03-23 22:45:51 +00:00
parent 3d60169ef4
commit 6c73bb3557

View File

@ -55,6 +55,7 @@ struct pcb {
register_t pcb_rip;
register_t pcb_fsbase;
register_t pcb_gsbase;
u_long pcb_flags;
u_int32_t pcb_ds;
u_int32_t pcb_es;
u_int32_t pcb_fs;
@ -67,7 +68,6 @@ struct pcb {
u_int64_t pcb_dr7;
struct savefpu pcb_save;
u_long pcb_flags;
#define PCB_DBREGS 0x02 /* process using debug registers */
#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */
#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */