aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-06-25 01:32:20 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-08-07 03:46:47 -0400
commit0e409b1bf65deb8fb62e0d491b37c8b9a57d25c9 (patch)
tree5ac8f520c693a3974d71c7c4fae853a03711a54f
parent432a8fc96280b61a2ca592a9d76596650c4011d8 (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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 0e29a7a79c7e..706299238695 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1025,6 +1025,7 @@ struct sched_rt_entity {
1025 1025
1026 1026
1027struct rcu_node; 1027struct rcu_node;
1028struct od_table_entry;
1028 1029
1029enum perf_event_task_context { 1030enum perf_event_task_context {
1030 perf_invalid_context = -1, 1031 perf_invalid_context = -1,
@@ -1370,6 +1371,9 @@ struct task_struct {
1370 /* LITMUS RT parameters and state */ 1371 /* LITMUS RT parameters and state */
1371 struct rt_param rt_param; 1372 struct rt_param rt_param;
1372 1373
1374 /* references to PI semaphores, etc. */
1375 struct od_table_entry *od_table;
1376
1373#ifdef CONFIG_LATENCYTOP 1377#ifdef CONFIG_LATENCYTOP
1374 int latency_record_count; 1378 int latency_record_count;
1375 struct latency_record latency_record[LT_SAVECOUNT]; 1379 struct latency_record latency_record[LT_SAVECOUNT];