]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/sched.h
Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-beck.git] / include / linux / sched.h
index 6c8504ade2ba113b06dc2a7b76af18b7158fecb9..56667292d1e444df2e9f21fc8281caf32e44f3f5 100644 (file)
@@ -619,6 +619,8 @@ struct task_cputime_atomic {
  * @cputime_atomic:    atomic thread group interval timers.
  * @running:           true when there are timers running and
  *                     @cputime_atomic receives updates.
+ * @checking_timer:    true when a thread in the group is in the
+ *                     process of checking for thread group timers.
  *
  * This structure contains the version of task_cputime, above, that is
  * used for thread group CPU timer calculations.
@@ -626,6 +628,7 @@ struct task_cputime_atomic {
 struct thread_group_cputimer {
        struct task_cputime_atomic cputime_atomic;
        bool running;
+       bool checking_timer;
 };
 
 #include <linux/rwsem.h>
@@ -1342,10 +1345,12 @@ struct sched_dl_entity {
 
 union rcu_special {
        struct {
-               bool blocked;
-               bool need_qs;
-       } b;
-       short s;
+               u8 blocked;
+               u8 need_qs;
+               u8 exp_need_qs;
+               u8 pad; /* Otherwise the compiler can store garbage here. */
+       } b; /* Bits. */
+       u32 s; /* Set of bits. */
 };
 struct rcu_node;