lkml.org 
[lkml]   [2006]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] pid: Since we aren't hashing pid 0 don't try
From
Date

This is a tidbit i missed in my code to stop hashing pid 0.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>


---

kernel/pid.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

d634915984d3e2d7ac13aaff1ee0e23406fe0e74
diff --git a/kernel/pid.c b/kernel/pid.c
index 7c40310..aea6775 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -363,11 +363,4 @@ void __init pidmap_init(void)
pidmap_array->page = (void *)get_zeroed_page(GFP_KERNEL);
set_bit(0, pidmap_array->page);
atomic_dec(&pidmap_array->nr_free);
-
- /*
- * Allocate PID 0, and hash it via all PID types:
- */
-
- for (i = 0; i < PIDTYPE_MAX; i++)
- attach_pid(current, i, 0);
}
--
1.1.5.g3480
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-29 22:47    [W:0.070 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site