]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/sched.h
sched/deadline: Add SCHED_DEADLINE inheritance logic
[karo-tx-linux.git] / include / linux / sched.h
index 9ea15019a5b67a019fb8b621f13ad0e1b953290b..13c53a99920fc4bc3227b32fd871ccb5d183f33f 100644 (file)
@@ -1124,8 +1124,12 @@ struct sched_dl_entity {
         * @dl_new tells if a new instance arrived. If so we must
         * start executing it with full runtime and reset its absolute
         * deadline;
+        *
+        * @dl_boosted tells if we are boosted due to DI. If so we are
+        * outside bandwidth enforcement mechanism (but only until we
+        * exit the critical section).
         */
-       int dl_throttled, dl_new;
+       int dl_throttled, dl_new, dl_boosted;
 
        /*
         * Bandwidth enforcement timer. Each -deadline task has its
@@ -1359,6 +1363,8 @@ struct task_struct {
        struct rb_node *pi_waiters_leftmost;
        /* Deadlock detection and priority inheritance handling */
        struct rt_mutex_waiter *pi_blocked_on;
+       /* Top pi_waiters task */
+       struct task_struct *pi_top_task;
 #endif
 
 #ifdef CONFIG_DEBUG_MUTEXES