Re: [patch] scheduler bits from 2.5.23-dj1

William Lee Irwin III
2002-06-21T01:34:40Z

On Thu, Jun 20, 2002 at 12:26:33PM -0700, William Lee Irwin III wrote:
> The final piece, built on top of the previous two. Please comment and/or
> use your discretion. Although I test compiled and booted it on UP i386,
> this may not be the desired cleanup. The original purpose of this was to
> enforce the usage of Linux' standard list data type for the pidhash.

Okay, one more piece, thanks to Brad Heilbrun <bheilbrun@paypal.com>:

Cheers,
Bill

diff -urN linux-2.5.23-virgin/kernel/fork.c linux-2.5.23-wli/kernel/fork.c
--- linux-2.5.23-virgin/kernel/fork.c Thu Jun 20 18:21:18 2002
+++ linux-2.5.23-wli/kernel/fork.c Thu Jun 20 18:21:31 2002
@@ -61,7 +61,7 @@
} while (!pidhash && size >= sizeof(list_t));

if (!pidhash)
- panic("Failed to allocated pid hash table!\n");
+ panic("Failed to allocate pid hash table!\n");

pidhash_size = size/sizeof(list_t);