diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 08:30:37 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-06 10:17:33 -0600 |
commit | 9d71320bfcc006c7972718a92548968d58c81620 (patch) | |
tree | 66d5dee9acb0ed03bb7d02aa1614e4903c396052 /include/linux/sched.h | |
parent | 94a0305da35814da5dffb25317db7847345204a5 (diff) |
mm: Prepare decoupling the page fault disabling logic
Add a pagefault_disabled variable to task_struct to allow decoupling
the pagefault-disabled logic from the preempt count.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index ed2b9f95c8ff..bce86f9cf6b7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1435,6 +1435,7 @@ struct task_struct { /* mutex deadlock detection */ struct mutex_waiter *blocked_on; #endif + int pagefault_disabled; #ifdef CONFIG_TRACE_IRQFLAGS unsigned int irq_events; unsigned long hardirq_enable_ip; |