diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:48 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2017-05-26 17:12:27 -0400 |
commit | 4673107e2ff7c218ecac2de9eedeb61153940bbe (patch) | |
tree | e174072678bb21cd9f0cf9caca2d2d7564f85243 | |
parent | 5b9cd45eb4fd99afd6b66111f9106d1e65c76bb7 (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 b52aa2d1d3e8..78566173465b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1447,6 +1447,7 @@ union rcu_special { | |||
1447 | u32 s; /* Set of bits. */ | 1447 | u32 s; /* Set of bits. */ |
1448 | }; | 1448 | }; |
1449 | struct rcu_node; | 1449 | struct rcu_node; |
1450 | struct od_table_entry; | ||
1450 | 1451 | ||
1451 | enum perf_event_task_context { | 1452 | enum perf_event_task_context { |
1452 | perf_invalid_context = -1, | 1453 | perf_invalid_context = -1, |
@@ -1891,6 +1892,9 @@ struct task_struct { | |||
1891 | /* LITMUS RT parameters and state */ | 1892 | /* LITMUS RT parameters and state */ |
1892 | struct rt_param rt_param; | 1893 | struct rt_param rt_param; |
1893 | 1894 | ||
1895 | /* references to PI semaphores, etc. */ | ||
1896 | struct od_table_entry *od_table; | ||
1897 | |||
1894 | #ifdef CONFIG_LATENCYTOP | 1898 | #ifdef CONFIG_LATENCYTOP |
1895 | int latency_record_count; | 1899 | int latency_record_count; |
1896 | struct latency_record latency_record[LT_SAVECOUNT]; | 1900 | struct latency_record latency_record[LT_SAVECOUNT]; |