commit 291ad0d14456308e94e8f1853b905c2f67be4f07 Author: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed Apr 8 13:28:12 2015 +0200 xxx ipc: reorder struct ipc_port diff --git a/ipc/ipc_port.h b/ipc/ipc_port.h index 6914c71..7773585 100644 --- a/ipc/ipc_port.h +++ b/ipc/ipc_port.h @@ -82,21 +82,25 @@ struct ipc_port { ipc_port_timestamp_t timestamp; } data; + mach_port_rights_t ip_srights; + mach_port_rights_t ip_sorights; + + struct ipc_pset *ip_pset; + mach_port_seqno_t ip_seqno; /* locked by message queue */ + mach_port_msgcount_t ip_msgcount; + struct ipc_thread_queue ip_blocked; + + /* Cold fields below. */ + ipc_kobject_t ip_kobject; mach_port_mscount_t ip_mscount; - mach_port_rights_t ip_srights; - mach_port_rights_t ip_sorights; struct ipc_port *ip_nsrequest; struct ipc_port *ip_pdrequest; struct ipc_port_request *ip_dnrequests; - struct ipc_pset *ip_pset; - mach_port_seqno_t ip_seqno; /* locked by message queue */ - mach_port_msgcount_t ip_msgcount; mach_port_msgcount_t ip_qlimit; - struct ipc_thread_queue ip_blocked; unsigned long ip_protected_payload; };