From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ARG_MAX of Plan9
Date: Tue, 1 May 2012 17:54:16 -0700 [thread overview]
Message-ID: <CAOw7k5hK09LRqzP_ChOxdqUpipo1GOTzJek8AabmJeqjtX52kg@mail.gmail.com> (raw)
In-Reply-To: <EFC8C99F-E1CB-4C27-8B37-44889AF17FA4@ar.aichi-u.ac.jp>
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
It's limited by the size of the temporary stack during exec, and
platform-specific.
The smallest seems to be 100 4k pages (less space for argv and Tos, I
suppose).
Newer variants of the system raise that to the size of the stack segment
(eg, 16 Mbytes),
which is still platform-specific. In fact, glancing at sysproc.c, I'm not
sure why it's limited
to TSTKSIZ given it goes on to allocate a much bigger segment to put them
in,
but even if that could easily be removed, currently that is the limit.
[-- Attachment #2: Type: text/html, Size: 585 bytes --]
next prev parent reply other threads:[~2012-05-02 0:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 0:30 arisawa
2012-05-02 0:54 ` Charles Forsyth [this message]
2012-05-02 10:11 ` cinap_lenrek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOw7k5hK09LRqzP_ChOxdqUpipo1GOTzJek8AabmJeqjtX52kg@mail.gmail.com \
--to=charles.forsyth@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).