* + kernel-pidc-move-statement.patch added to -mm tree
@ 2013-06-11 22:39 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2013-06-11 22:39 UTC (permalink / raw)
To: mm-commits, ebiederm, raphael.scarv
Subject: + kernel-pidc-move-statement.patch added to -mm tree
To: raphael.scarv@gmail.com,ebiederm@xmission.com
From: akpm@linux-foundation.org
Date: Tue, 11 Jun 2013 15:39:42 -0700
The patch titled
Subject: kernel/pid.c: move statement
has been added to the -mm tree. Its filename is
kernel-pidc-move-statement.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: "Raphael S. Carvalho" <raphael.scarv@gmail.com>
Subject: kernel/pid.c: move statement
Move statement to static initilization of init_pid_ns.
Signed-off-by: Raphael S. Carvalho <raphael.scarv@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/pid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/pid.c~kernel-pidc-move-statement kernel/pid.c
--- a/kernel/pid.c~kernel-pidc-move-statement
+++ a/kernel/pid.c
@@ -75,6 +75,7 @@ struct pid_namespace init_pid_ns = {
[ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
},
.last_pid = 0,
+ .nr_hashed = PIDNS_HASH_ADDING,
.level = 0,
.child_reaper = &init_task,
.user_ns = &init_user_ns,
@@ -590,7 +591,6 @@ void __init pidmap_init(void)
/* Reserve PID 0. We never call free_pidmap(0) */
set_bit(0, init_pid_ns.pidmap[0].page);
atomic_dec(&init_pid_ns.pidmap[0].nr_free);
- init_pid_ns.nr_hashed = PIDNS_HASH_ADDING;
init_pid_ns.pid_cachep = KMEM_CACHE(pid,
SLAB_HWCACHE_ALIGN | SLAB_PANIC);
_
Patches currently in -mm which might be from raphael.scarv@gmail.com are
kernel-auditfilterc-fixing-build-warning.patch
kernel-pidc-move-statement.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-11 22:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-11 22:39 + kernel-pidc-move-statement.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).