lkml.org 
[lkml]   [2003]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Port SquashFS to 2.6
From
Date
On Mon, 21 Jul 2003 19:52:39 PDT, junkio@cox.net said:

> If an architecture has a big stack usage per call that is
> imposed by the ABI, and larger kernel stack is allocated
> compared to other architectures because of this reason,
> shouldn't there be about the same amount of usable space left
> for the kernel programs within the allocated per-process kernel
> stack space to use? If that is not the case then the port to
> that particular architecture would not be optimal, wouldn't it?

Not necessarily. It's quite possible (likely even) that one architecture might
have N bytes overhead per call, and is allowed a 4K stack, and some other
architecture has (N+30%) overhead, so 4K isn't enough - 5K is needed. However,
other considerations cause a whole-page allocation, so instead of allocating
5K, it goes to 8K, with a 3K wastage....

So yes, you can end up with suboptimal results.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.058 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site