]> git.neil.brown.name Git - history.git/commit
[PATCH] pidhashing: rewrite alloc_pidmap()
authorWilliam Lee Irwin III <wli@holomorphy.com>
Tue, 19 Oct 2004 01:10:19 +0000 (18:10 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:10:19 +0000 (18:10 -0700)
commit3d682f4f27606d48a72ac63db872c53939f4c8aa
tree603eeb7aca4de3b1b02d1e0a8a2c7c5f25c3e0e8
parent48716031dc20f32b7a0f76f3590150f6e49e64a3
[PATCH] pidhashing: rewrite alloc_pidmap()

Rewrite alloc_pidmap() to clarify control flow by eliminating all usage of
goto, honor pid_max and first available pid after last_pid semantics, make
only a single pass over the used portion of the pid bitmap, and update
copyrights to reflect ongoing maintenance by Ingo and myself.

Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/pid.c