diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-04-08 14:04:34 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-04-08 14:04:34 +0200 |
commit | 445b2e70a7a7516f8602b085e16608d9a670af7b (patch) | |
tree | 32e7c63e52108d4b4a2e88cf91097d7c371c5a32 /debian | |
parent | 3c93520fe3db24434b4e3b32a75c72dc16db6dda (diff) |
add reorder-ipc_port.patch
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/reorder-ipc_port.patch | 42 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/debian/patches/reorder-ipc_port.patch b/debian/patches/reorder-ipc_port.patch new file mode 100644 index 0000000..52fcc3b --- /dev/null +++ b/debian/patches/reorder-ipc_port.patch @@ -0,0 +1,42 @@ +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; + }; + diff --git a/debian/patches/series b/debian/patches/series index 5395652..b570279 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ task-load.patch 0005-ipc-replace-the-IPC-table-with-a-radix-tree.patch 0006-xxx-drop-cleanup-unused-code.patch 0007-ipc-inline-key-ipc-entry-lookup-functions.patch +reorder-ipc_port.patch |