mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
pid namespaces: remove the struct pid unneeded fields
Since we've switched from using pid->nr to pid->upids->nr some fields on struct pid are no longer needed Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com> Cc: Paul Menage <menage@google.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
228ebcbe63
commit
19b9b9b54e
3 changed files with 0 additions and 7 deletions
|
@ -57,9 +57,6 @@ struct upid {
|
|||
struct pid
|
||||
{
|
||||
atomic_t count;
|
||||
/* Try to keep pid_chain in the same cacheline as nr for find_pid */
|
||||
int nr;
|
||||
struct hlist_node pid_chain;
|
||||
/* lists of tasks that use this pid */
|
||||
struct hlist_head tasks[PIDTYPE_MAX];
|
||||
struct rcu_head rcu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue