Print this page
4747 remove unused [DS]SIZE_LIMIT defines

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4/sys/vm_machparam.h
          +++ new/usr/src/uts/sun4/sys/vm_machparam.h
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  /*        All Rights Reserved   */
  23   23  
  24   24  /*
  25   25   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  26   26   * Use is subject to license terms.
  27   27   */
  28   28  
  29   29  #ifndef _SYS_VM_MACHPARAM_H
  30   30  #define _SYS_VM_MACHPARAM_H
  31   31  
  32      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  33      -
  34   32  #ifdef  __cplusplus
  35   33  extern "C" {
  36   34  #endif
  37   35  
  38   36  /*
  39   37   * Machine dependent constants for sun4u.
  40   38   */
  41   39  
  42   40  /*
  43   41   * USRTEXT is the start of the user text/data space.
↓ open down ↓ 3 lines elided ↑ open up ↑
  47   45  /*
  48   46   * Virtual memory related constants for UNIX resource control, all in bytes
  49   47   * The default stack size of 8M allows an optimization of mmu mapping
  50   48   * resources so that in normal use a single mmu region map entry (smeg)
  51   49   * can be used to map both the stack and shared libraries
  52   50   */
  53   51  #define MAXSSIZ         (0x7ffff000)    /* max stack size limit */
  54   52  #define DFLSSIZ         (8*1024*1024)   /* initial stack size limit */
  55   53  
  56   54  /*
  57      - * DSIZE_LIMIT and SSIZE_LIMIT exist to work-around an SVVS bug (1094085),
  58      - * and should be removed from the kernel (1094089)
  59      - */
  60      -
  61      -#define DSIZE_LIMIT     (USERLIMIT-USRTEXT)     /* physical data limit */
  62      -#define SSIZE_LIMIT     (0x7fffffff)    /* physical stack limit */
  63      -
  64      -/*
  65   55   * Minimum allowable virtual address space to be used
  66   56   * by the seg_map segment driver for fast kernel mappings.
  67   57   */
  68   58  #define MINMAPSIZE      0x200000
  69   59  
  70   60  /*
  71   61   * The virtual address space to be used by the seg_map segment
  72   62   * driver for fast kernel mappings.
  73   63   *
  74   64   * Size is 1/8th of physmem at boot.
↓ open down ↓ 92 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX