Re: [patch] larger kernel stack (8k->16k) per task

From: Andrew Morton (akpm@zip.com.au)
Date: Fri Feb 08 2002 - 15:08:42 EST


Tigran Aivazian wrote:
>
> ...
> + memset((char*)tsk+sizeof(struct task_struct), 0, \
> + THREAD_SIZE-sizeof(struct task_struct)); \
> + } \

This seems to be permanently enabled? If so, I'd suggest that it
be made conditional on CONFIG_SLAB_DEBUG, or such.

> ...
> -# define INIT_TASK_SIZE 2048*sizeof(long)
> +# define INIT_TASK_SIZE 4096*sizeof(long)

Personally, I'd rather we make the stack 4k for a while,
and fix the resulting mess.

-
-
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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:21 EST