+ pid-remove-pidhash-v6.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: pid-remove-pidhash-v6
has been added to the -mm tree.  Its filename is
     pid-remove-pidhash-v6.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/pid-remove-pidhash-v6.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/pid-remove-pidhash-v6.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: Gargi Sharma <gs051095@xxxxxxxxx>
Subject: pid-remove-pidhash-v6

Link: http://lkml.kernel.org/r/1507760379-21662-3-git-send-email-gs051095@xxxxxxxxx
Signed-off-by: Gargi Sharma <gs051095@xxxxxxxxx>
Cc: Julia Lawall <julia.lawall@xxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Cc: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/kernel/asm-offsets.c |    4 ++--
 kernel/pid.c                   |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff -puN arch/ia64/kernel/asm-offsets.c~pid-remove-pidhash-v6 arch/ia64/kernel/asm-offsets.c
--- a/arch/ia64/kernel/asm-offsets.c~pid-remove-pidhash-v6
+++ a/arch/ia64/kernel/asm-offsets.c
@@ -30,8 +30,8 @@ void foo(void)
 	DEFINE(SIGFRAME_SIZE, sizeof (struct sigframe));
 	DEFINE(UNW_FRAME_INFO_SIZE, sizeof (struct unw_frame_info));
 
-	BUILD_BUG_ON(sizeof(struct upid) != 32);
-	DEFINE(IA64_UPID_SHIFT, 5);
+	BUILD_BUG_ON(sizeof(struct upid) != 16);
+	DEFINE(IA64_UPID_SHIFT, 4);
 
 	BLANK();
 
diff -puN kernel/pid.c~pid-remove-pidhash-v6 kernel/pid.c
--- a/kernel/pid.c~pid-remove-pidhash-v6
+++ a/kernel/pid.c
@@ -118,8 +118,7 @@ void free_pid(struct pid *pid)
 	for (i = 0; i <= pid->level; i++) {
 		struct upid *upid = pid->numbers + i;
 		struct pid_namespace *ns = upid->ns;
-
-		switch(--ns->pid_allocated) {
+		switch (--ns->pid_allocated) {
 		case 2:
 		case 1:
 			/* When all that is left in the pid namespace
_

Patches currently in -mm which might be from gs051095@xxxxxxxxx are

pid-replace-pid-bitmap-implementation-with-idr-api.patch
pid-replace-pid-bitmap-implementation-with-idr-api-v6.patch
pid-remove-pidhash.patch
pid-remove-pidhash-v6.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux