Hi, I have two proposals for the alpha-kernel.

1:

The stack size for alpha is limited to a small value,
and I think we sould update the asm-alpha/resource.h for 
a bigger value. I greped in the 2.2.14 kernel source, and
found that only a few architecture has limited stack size.

# grep STK */resource.h
asm-alpha/resource.h:    {_STK_LIM, _STK_LIM},                  /* RLIMIT_STACK */     
 \
asm-arm/resource.h:     { _STK_LIM, _STK_LIM },                         \
asm-i386/resource.h:    { _STK_LIM, LONG_MAX },                         \
asm-m68k/resource.h:  {_STK_LIM, LONG_MAX}, \
asm-mips/resource.h:    {_STK_LIM, _STK_LIM},                           \
asm-ppc/resource.h:    {_STK_LIM, LONG_MAX},                    /* RLIMIT_STACK */     
 \
asm/resource.h:    {_STK_LIM, _STK_LIM},                        /* RLIMIT_STACK */     
 \
asm-sparc64/resource.h:    {LONG_MAX, LONG_MAX}, {_STK_LIM, LONG_MAX},         \
asm-sparc/resource.h:    {LONG_MAX, LONG_MAX}, {_STK_LIM, LONG_MAX},           \

2:

The SHMMAX in shmparam.h is set to 0x3fa000.
And when I run the cdrecord which was in the debian package, the
program claimed me that it could not get enough shared memory.
I patched the value to 0xffa000, and then the program worked fine.
In other architectues, the value set to the bigger value, and
I think alpha can also have a bigger default value to the SHMMAX.


Any comment?


Naohiko Shimizu 
 Dept. Comm. Engr./Univ. TOKAI. 
 1117 Kitakaname Hiratsuka 259-12 Japan 
 TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
 http://shimizu-lab.et.u-tokai.ac.jp/

Reply via email to