Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2019 19:20:45 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355459 - head/sys/sys
Message-ID:  <201912061920.xB6JKjI4038383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Dec  6 19:20:45 2019
New Revision: 355459
URL: https://svnweb.freebsd.org/changeset/base/355459

Log:
  Remove SPARE_USRSPACE.
  
  This constant was used to reserve space at the top of the stack to
  hold translated system call arguments for non-default ABIs (the
  "stackgap").  However, none of the compatibility ABIs have used the
  stackgap in many years and the last use of SPARE_USRSPACE was removed
  in r355373.
  
  Reviewed by:	kib
  Sponsored by:	DARPA
  Differential Revision:	https://reviews.freebsd.org/D22697

Modified:
  head/sys/sys/exec.h

Modified: head/sys/sys/exec.h
==============================================================================
--- head/sys/sys/exec.h	Fri Dec  6 18:51:16 2019	(r355458)
+++ head/sys/sys/exec.h	Fri Dec  6 19:20:45 2019	(r355459)
@@ -77,7 +77,6 @@ struct execsw {
  * Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant.
  */
 #define	PS_STRINGS	(USRSTACK - sizeof(struct ps_strings))
-#define	SPARE_USRSPACE	4096
 
 int exec_map_first_page(struct image_params *);        
 void exec_unmap_first_page(struct image_params *);       



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912061920.xB6JKjI4038383>