Re: PAGE_SIZE on 64bit and 32bit machines

From: Jiri Slaby
Date: Mon Nov 12 2007 - 11:03:14 EST


On 11/12/2007 04:58 PM, Yoav Artzi wrote:
> Looking at the source, I see:
>
> #ifdef CONFIG_4KSTACKS
> #define THREAD_SIZE (4096)
> #else
> #define THREAD_SIZE (8192)
> #endif
>
>
> So if I configure the option CONFIG_4KSTACK, I will get a 4KB kernel
> stack. Am I missing something here?

But it's not configurable on x86_64, where the thread size defaults to 8k.

regards,
--
Jiri Slaby (jirislaby@xxxxxxxxx)
Faculty of Informatics, Masaryk University
-
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/