diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-25 01:32:20 -0400 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2014-10-21 10:01:48 -0400 |
commit | ce3268cf0ebd29c52dd5130f8430f3a3b61b0cec (patch) | |
tree | ad031d71be15ff98fdcb915ae2d190f22635d857 /include | |
parent | bac300c4dc3c9c0ed4f317514e1f8496ebe10cac (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.
Diffstat (limited to 'include')
-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 164bb0dbb663..cbb3b4459702 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1029,6 +1029,7 @@ struct sched_rt_entity { | |||
1029 | 1029 | ||
1030 | 1030 | ||
1031 | struct rcu_node; | 1031 | struct rcu_node; |
1032 | struct od_table_entry; | ||
1032 | 1033 | ||
1033 | enum perf_event_task_context { | 1034 | enum perf_event_task_context { |
1034 | perf_invalid_context = -1, | 1035 | perf_invalid_context = -1, |
@@ -1374,6 +1375,9 @@ struct task_struct { | |||
1374 | /* LITMUS RT parameters and state */ | 1375 | /* LITMUS RT parameters and state */ |
1375 | struct rt_param rt_param; | 1376 | struct rt_param rt_param; |
1376 | 1377 | ||
1378 | /* references to PI semaphores, etc. */ | ||
1379 | struct od_table_entry *od_table; | ||
1380 | |||
1377 | #ifdef CONFIG_LATENCYTOP | 1381 | #ifdef CONFIG_LATENCYTOP |
1378 | int latency_record_count; | 1382 | int latency_record_count; |
1379 | struct latency_record latency_record[LT_SAVECOUNT]; | 1383 | struct latency_record latency_record[LT_SAVECOUNT]; |