aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 045b0d227846..f7efc8604652 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -323,6 +323,10 @@ static inline void arch_pick_mmap_layout(struct mm_struct *mm) {}
323extern void set_dumpable(struct mm_struct *mm, int value); 323extern void set_dumpable(struct mm_struct *mm, int value);
324extern int get_dumpable(struct mm_struct *mm); 324extern int get_dumpable(struct mm_struct *mm);
325 325
326#define SUID_DUMP_DISABLE 0 /* No setuid dumping */
327#define SUID_DUMP_USER 1 /* Dump as user of process */
328#define SUID_DUMP_ROOT 2 /* Dump as root */
329
326/* mm flags */ 330/* mm flags */
327/* dumpable bits */ 331/* dumpable bits */
328#define MMF_DUMPABLE 0 /* core dump is permitted */ 332#define MMF_DUMPABLE 0 /* core dump is permitted */
@@ -1062,15 +1066,6 @@ struct task_struct {
1062 struct hlist_head preempt_notifiers; 1066 struct hlist_head preempt_notifiers;
1063#endif 1067#endif
1064 1068
1065 /*
1066 * fpu_counter contains the number of consecutive context switches
1067 * that the FPU is used. If this is over a threshold, the lazy fpu
1068 * saving becomes unlazy to save the trap. This is an unsigned char
1069 * so that after 256 times the counter wraps and the behavior turns
1070 * lazy again; this to deal with bursty apps that only use FPU for
1071 * a short time
1072 */
1073 unsigned char fpu_counter;
1074#ifdef CONFIG_BLK_DEV_IO_TRACE 1069#ifdef CONFIG_BLK_DEV_IO_TRACE
1075 unsigned int btrace_seq; 1070 unsigned int btrace_seq;
1076#endif 1071#endif