[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB.
From: |
Peter O'Gorman |
Subject: |
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB. |
Date: |
Tue, 02 Sep 2008 13:00:31 -0500 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Ralf Wildenhues wrote:
>> Anyway, what formula do you think reasonable?
>
> For starters, how large is the environment and how large is the driver
> overhead, in the case where you're hitting the wall?
>
It hit the error with ARG_MAX at 20K, max_cmd_len at 15K, and
confusingly, it hit it doing the ld -r (so no driver overhead). The same
ld -r command worked fine outside of libtool, but failed consistently
when libtool attempted it. I did not think to look at the environment,
and we have since rebuilt the kernel with large_ncargs_enabled (so new
ARG_MAX is 200K), so can not reproduce.
Not helpful, I know.
Peter
--
Peter O'Gorman
http://pogma.com
Re: [PATCH] Increase "Safety factor" when ARG_MAX is less than 40KB., Ralf Wildenhues, 2008/09/04