Re: PAGE_SIZE on 64bit and 32bit machines

From: Yoav Artzi
Date: Mon Nov 12 2007 - 10:58:33 EST


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?


-------- Original Message --------

Subject: Re: PAGE_SIZE on 64bit and 32bit machines
From: Adrian Bunk <bunk@xxxxxxxxxx>
To: Yoav Artzi <yoavar@xxxxxxxxxxxxxx>
Date: Monday, November 12, 2007 5:39:08 PM

On Mon, Nov 12, 2007 at 05:32:36PM +0200, Yoav Artzi wrote:

Well, since the size of the kernel stack is one page,
...

That's not true.

cu
Adrian


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