How would one test for, StackSize=4k

Dave Jones davej at redhat.com
Tue Jun 15 10:49:45 UTC 2004


On Mon, 2004-06-14 at 23:20, T. 'Nifty New Hat' Mitchell wrote:
> The 4K stack size seems to be part of the future.
> 
> As the transition progresses, how would one test for StackSize=4k?
> Both in make/config  files and in install scripts where two object
> (4k or 8K) could be installed.
> 
> Also is it possible to build a set of  wrappers that do the right 
> thing into and out of a driver when the driver and kernel ABI
> do not match on this choice.

If you fix the code so that it works with a 4K stack, it'll
work fine with an 8KB one too.  I can't actually think of a
valid reason for a module wanting to detect which is in use.

	Dave





More information about the fedora-list mailing list