aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-12 10:29:35 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-12 10:29:35 +0100
commitc1dfdc7597d051b09555d4ae2acb90403e238746 (patch)
tree86aa49f5a2ab25459f9196dd6724bbe6645b1375 /include/linux/sched.h
parentsched: idle_balance() does not call load_balance_newidle() (diff)
parentLinux 2.6.28-rc8 (diff)
downloadlinux-dev-c1dfdc7597d051b09555d4ae2acb90403e238746.tar.xz
linux-dev-c1dfdc7597d051b09555d4ae2acb90403e238746.zip
Merge commit 'v2.6.28-rc8' into sched/core
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d8733f07d80b..8cccd6dc5d66 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -628,6 +628,10 @@ struct user_struct {
atomic_t inotify_watches; /* How many inotify watches does this user have? */
atomic_t inotify_devs; /* How many inotify devs does this user have opened? */
#endif
+#ifdef CONFIG_EPOLL
+ atomic_t epoll_devs; /* The number of epoll descriptors currently open */
+ atomic_t epoll_watches; /* The number of file descriptors currently watched */
+#endif
#ifdef CONFIG_POSIX_MQUEUE
/* protected by mq_lock */
unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */