diff options
author | Sukadev Bhattiprolu <sukadev@us.ibm.com> | 2006-10-02 05:17:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:15 -0400 |
commit | 3fbc96486459324e182717b03c50c90c880be6ec (patch) | |
tree | c2b5ccb3f64913daeb040c21652e4b421cc76bca /include/linux/sched.h | |
parent | aa5a6662f93f52605b6c447ba6f7291e92f515c5 (diff) |
[PATCH] Define struct pspace
Define a per-container pid space object. And create one instance of this
object, init_pspace, to define the entire pid space. Subsequent patches
will provide/use interfaces to create/destroy pid spaces.
Its a subset/rework of Eric Biederman's patch
http://lkml.org/lkml/2006/2/6/285 .
Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Kirill Korotaev <dev@sw.ru>
Cc: Andrey Savochkin <saw@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index dd6c2164e4a4..3b7c99265ace 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -118,7 +118,6 @@ extern unsigned long avenrun[]; /* Load averages */ | |||
118 | 118 | ||
119 | extern unsigned long total_forks; | 119 | extern unsigned long total_forks; |
120 | extern int nr_threads; | 120 | extern int nr_threads; |
121 | extern int last_pid; | ||
122 | DECLARE_PER_CPU(unsigned long, process_counts); | 121 | DECLARE_PER_CPU(unsigned long, process_counts); |
123 | extern int nr_processes(void); | 122 | extern int nr_processes(void); |
124 | extern unsigned long nr_running(void); | 123 | extern unsigned long nr_running(void); |