On 8/7/21 11:42 AM, Warner Losh wrote:
From: Warner Losh<i...@freebsd.org>

Eliminate the x86 specific stack stuff in favor of more generic control
over the process size:
     target_maxtsiz  max text size
     target_dfldsiz  initial data size limit
     target_maxdsiz  max data size
     target_dflssiz  initial stack size limit
     target_maxssiz  max stack size
     target_sgrowsiz amount to grow stack
These can be set on a per-arch basis, and the stack size can be set
on the command line. Adjust the stack size parameters at startup.

Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>

Sponsored by:           Netflix
---
  bsd-user/elfload.c |  2 +-
  bsd-user/main.c    | 51 +++++++++++++++++++++++++++++++++-------------
  bsd-user/qemu.h    |  7 ++++++-
  3 files changed, 44 insertions(+), 16 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to