Re: [PATCH][2/2] double stack limit (rfc)

2007-03-22 Thread KAMEZAWA Hiroyuki
On Thu, 22 Mar 2007 21:56:03 -0700 "Tony Luck" <[EMAIL PROTECTED]> wrote: > On 3/22/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > > I hear some people says that "When I set stack-size-limit to 32M, > > I want to use 32M of memory stack..." and register-stack expansion can > > fail because sta

Re: [PATCH][2/2] double stack limit (rfc)

2007-03-22 Thread Tony Luck
On 3/22/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: I hear some people says that "When I set stack-size-limit to 32M, I want to use 32M of memory stack..." and register-stack expansion can fail because stack is used up by memory-stack. An interesting dilemma. If you apply this patch thoug

[PATCH][2/2] double stack limit (rfc)

2007-03-22 Thread KAMEZAWA Hiroyuki
Now, ia64's hard-stack-size (rlimit.max) is sum of register-stack size and memory-stack size. But soft-stack-size (rlimit.cur) accounitng is not sum.. they are accounted independently. This is inconsistent. I hear some people says that "When I set stack-size-limit to 32M, I want to use 32M of memo