Re: [PATCH 3/3] 2.6.8-rc4-mm1 - UML fixes

From: Jeff Dike
Date: Thu Aug 12 2004 - 10:57:01 EST


wli@xxxxxxxxxxxxxx said:
> This might confuse CONFIG_DEBUG_PAGEALLOC, which uses THREAD_SIZE to
> detect the end of the kernel stack in store_stackinfo() in mm/slab.c
> and kstack_end() in include/linux/sched.h, and the sizing heuristic
> for max_threads in fork_init().

I think it's OK. UML isn't lying about its stack size, just that snippet of
code is misleading.

> Also, how is this meant to interoperate with CONFIG_KERNEL_STACK_ORDER?
> It seems to ignore the setting from the config option.

I'm going to fix that. For this patch I just did the quickest thing and
reverted back to what was there before.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/