Yoav Artzi wrote:
According to my knowledge the PAGE_SIZE on 32bit architectures in 4KB.
Logically, the PAGE_SIZE on 64bit architectures should be 8KB. That's
at least the way I understand it. However, looking at the kernel code
of x86_64, I see the PAGE_SIZE is 4KB.
Can anyone explain to me
Yoav Artzi wrote:
According to my knowledge the PAGE_SIZE on 32bit architectures in 4KB.
Logically, the PAGE_SIZE on 64bit architectures should be 8KB. That's at
least the way I understand it. However, looking at the kernel code of
x86_64, I see the PAGE_SIZE is 4KB.
Can anyone explain to me
On Mon, Nov 12, 2007 at 05:58:08PM +0200, 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.
I see. Thanks, guys.
Original Message
Subject: Re: PAGE_SIZE on 64bit and 32bit machines
From: Kyle McMartin <[EMAIL PROTECTED]>
To: Yoav Artzi <[EMAIL PROTECTED]>
Date: Monday, November 12, 2007 6:11:06 PM
On Mon, Nov 12, 2007 at 05:58:08PM +0200, Yoav
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 somet
: Re: PAGE_SIZE on 64bit and 32bit machines
From: Adrian Bunk <[EMAIL PROTECTED]>
To: Yoav Artzi <[EMAIL PROTECTED]>
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,
...
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
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
. Isn't it?
I know that using one page for a kernel stack is a optional feature, but:
a) It's a good feature
b) It's already used by major distros, e.g. Red Hat
Original Message
Subject: Re: PAGE_SIZE on 64bit and 32bit machines
From: Jiri Slaby <[EMAIL PR
On 11/12/2007 03:39 PM, Yoav Artzi wrote:
> According to my knowledge the PAGE_SIZE on 32bit architectures in 4KB.
> Logically, the PAGE_SIZE on 64bit architectures should be 8KB. That's at
> least the way I understand it. However, looking at the kernel code of
> x86_64, I see the PAGE_SIZE is 4KB.
According to my knowledge the PAGE_SIZE on 32bit architectures in 4KB.
Logically, the PAGE_SIZE on 64bit architectures should be 8KB. That's at
least the way I understand it. However, looking at the kernel code of
x86_64, I see the PAGE_SIZE is 4KB.
Can anyone explain to me what am I missing
10 matches
Mail list logo