aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:33:26 -0500
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:16:27 -0400
commitfa3c94fc9cd1619fe0dd6081a1a980c09ef3e119 (patch)
tree2e389b77431e55e8b81f4f256b93f23137dd4e2f /include/linux/sched.h
parentf5936ecf0cff0b94419b6768efba3e15622beeb6 (diff)
[ported from 2008.3] Add File Descriptor Attached Shared Objects (FDSO) infrastructure
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index bb046c0adf99..724814191fe9 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1214,6 +1214,7 @@ struct sched_rt_entity {
1214}; 1214};
1215 1215
1216struct rcu_node; 1216struct rcu_node;
1217struct od_table_entry;
1217 1218
1218struct task_struct { 1219struct task_struct {
1219 volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ 1220 volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */
@@ -1296,9 +1297,9 @@ struct task_struct {
1296 unsigned long stack_canary; 1297 unsigned long stack_canary;
1297#endif 1298#endif
1298 1299
1299 /* 1300 /*
1300 * pointers to (original) parent process, youngest child, younger sibling, 1301 * pointers to (original) parent process, youngest child, younger sibling,
1301 * older sibling, respectively. (p->father can be replaced with 1302 * older sibling, respectively. (p->father can be replaced with
1302 * p->real_parent->pid) 1303 * p->real_parent->pid)
1303 */ 1304 */
1304 struct task_struct *real_parent; /* real parent process */ 1305 struct task_struct *real_parent; /* real parent process */
@@ -1512,6 +1513,9 @@ struct task_struct {
1512 /* LITMUS RT parameters and state */ 1513 /* LITMUS RT parameters and state */
1513 struct rt_param rt_param; 1514 struct rt_param rt_param;
1514 1515
1516 /* references to PI semaphores, etc. */
1517 struct od_table_entry *od_table;
1518
1515#ifdef CONFIG_LATENCYTOP 1519#ifdef CONFIG_LATENCYTOP
1516 int latency_record_count; 1520 int latency_record_count;
1517 struct latency_record latency_record[LT_SAVECOUNT]; 1521 struct latency_record latency_record[LT_SAVECOUNT];
@@ -2051,7 +2055,7 @@ static inline int dequeue_signal_lock(struct task_struct *tsk, sigset_t *mask, s
2051 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); 2055 spin_unlock_irqrestore(&tsk->sighand->siglock, flags);
2052 2056
2053 return ret; 2057 return ret;
2054} 2058}
2055 2059
2056extern void block_all_signals(int (*notifier)(void *priv), void *priv, 2060extern void block_all_signals(int (*notifier)(void *priv), void *priv,
2057 sigset_t *mask); 2061 sigset_t *mask);