Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 11:39:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 241710] please increase ARG_MAX
Message-ID:  <bug-241710-227-OtYvzEWIiz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241710-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241710-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241710

--- Comment #23 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Thierry Thomas from comment #22)
Strings are copied to the KVA allocated from submap which is sized at boot.=
  If
the size of individual allocation can be changed at runtime it could result
both in over-provisioning of the submap and in fragmentation.  Both of the
problems might cause execve(2) hang waiting for free KVA to proceed.

We might allow a tunable to size the maxargs and correspondingly size subma=
p at
boot.  But this still makes the changes to the kernel map, which are now on
user.  I just doubt that user can do any reasonable choice there, it requir=
es
understanding too much of the kernel layout even to guess what is safe.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241710-227-OtYvzEWIiz>