[Bug 241710] please increase ARG_MAX
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 24 11:39:10 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241710
--- Comment #23 from Konstantin Belousov <kib at 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 submap 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 requires
understanding too much of the kernel layout even to guess what is safe.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list