diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:48 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 06:21:18 -0400 |
commit | bd175e94795774908317a861a883761b75750e35 (patch) | |
tree | 98d3f71e83fc375f3eae2e76b4563d10c8e4bedf | |
parent | ec72e576dfcb1cb0ce0141801f3ee829f6e35137 (diff) |
Add object descriptor table to Linux's task_struct
This table is similar to a file descriptor table. It keeps track of
which "objects" (locks) a real-time task holds a handle to.
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 067a2383ee68..3e6e669db92b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1283,6 +1283,7 @@ union rcu_special { | |||
1283 | short s; | 1283 | short s; |
1284 | }; | 1284 | }; |
1285 | struct rcu_node; | 1285 | struct rcu_node; |
1286 | struct od_table_entry; | ||
1286 | 1287 | ||
1287 | enum perf_event_task_context { | 1288 | enum perf_event_task_context { |
1288 | perf_invalid_context = -1, | 1289 | perf_invalid_context = -1, |
@@ -1676,6 +1677,9 @@ struct task_struct { | |||
1676 | /* LITMUS RT parameters and state */ | 1677 | /* LITMUS RT parameters and state */ |
1677 | struct rt_param rt_param; | 1678 | struct rt_param rt_param; |
1678 | 1679 | ||
1680 | /* references to PI semaphores, etc. */ | ||
1681 | struct od_table_entry *od_table; | ||
1682 | |||
1679 | #ifdef CONFIG_LATENCYTOP | 1683 | #ifdef CONFIG_LATENCYTOP |
1680 | int latency_record_count; | 1684 | int latency_record_count; |
1681 | struct latency_record latency_record[LT_SAVECOUNT]; | 1685 | struct latency_record latency_record[LT_SAVECOUNT]; |