This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix stacksize returned for main process thread when RLIMIT_STACKis relevant


(6/20/12 1:10 AM), KOSAKI Motohiro wrote:
> (6/20/12 12:11 AM), KOSAKI Motohiro wrote:
>> On Tue, Jun 19, 2012 at 11:23 PM, Siddhesh Poyarekar
>> <siddhesh@redhat.com> wrote:
>>> On Tue, 19 Jun 2012 22:58:14 -0400, KOSAKI wrote:
>>>> OK. I understand. I agree little inconsistency is no big matter. So, I
>>>> clearly believe your patch is correct. thank you.
>>>>
>>>
>>> Thanks, could you also get confirmation from the ruby devs for their
>>> use case? I will commit the patch once they confirm the fix.
>>
>> I will do.
> 
> ok, they acked. please commit.
> 

Ah, I have one another req.

+static void
+allocate_and_test (void *stackaddr)
+{
+  void *mem = &mem;
+  mem = alloca ((size_t) (mem - stackaddr));
+  *(int *)(mem) = 0;
+}


This is slightly HPPA unfrinedly. please mark TODO for help Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]