Print this page
4747 remove unused [DS]SIZE_LIMIT defines

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/sys/vm_machparam.h
          +++ new/usr/src/uts/i86pc/sys/vm_machparam.h
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  /*      Copyright (c) 1988 AT&T */
  22   22  /*        All Rights Reserved   */
  23   23  /*
  24   24   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  25   25   * Use is subject to license terms.
  26   26   */
  27   27  
  28   28  #ifndef _SYS_VM_MACHPARAM_H
  29   29  #define _SYS_VM_MACHPARAM_H
  30   30  
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  32      -
  33   31  #ifdef  __cplusplus
  34   32  extern "C" {
  35   33  #endif
  36   34  
  37   35  /*
  38   36   * Machine dependent constants for PC.
  39   37   */
  40   38  
  41   39  /*
  42   40   * USRTEXT is the start of the user text/data space.
↓ open down ↓ 21 lines elided ↑ open up ↑
  64   62   *
  65   63   * For 32bit processes, the stack is below the text segment.
  66   64   */
  67   65  #define MAXSSIZ         (32ULL * 1024ULL * 1024ULL * 1024ULL * 1024ULL)
  68   66  #else
  69   67  #define MAXSSIZ         (USRSTACK - 1024*1024)
  70   68  #endif /* __amd64 */
  71   69  #define DFLSSIZ         (8*1024*1024 + ((USRSTACK) & 0x3FFFFF))
  72   70  
  73   71  /*
  74      - * The following are limits beyond which the hard or soft limits for stack
  75      - * and data cannot be increased. These may be viewed as fundamental
  76      - * characteristics of the system. Note: a bug in SVVS requires that the
  77      - * default hard limit be increasable, so the default hard limit must be
  78      - * less than these physical limits.
  79      - */
  80      -#define DSIZE_LIMIT     (USERLIMIT-USRTEXT)     /* physical data limit */
  81      -#define SSIZE_LIMIT     (USRSTACK)              /* physical stack limit */
  82      -
  83      -/*
  84   72   * Size of the kernel segkmem system pte table.  This virtual
  85   73   * space is controlled by the resource map "kernelmap".
  86   74   */
  87   75  #define SYSPTSIZE       ((61*1024*1024) / MMU_PAGESIZE)
  88   76  
  89   77  /*
  90   78   * Size of the ethernet addressable kernel segkmem system pte table.
  91   79   * This virtual space is controlled by the resource map "ekernelmap".
  92   80   * The ethernet interfaces in some sun machines can address only
  93   81   * the upper 16 Megabytes of memory.  Since the ethernet
↓ open down ↓ 69 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX