Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 07:30:07 -0800 (PST)
From:      Hiten Pandya <hitmaster2k@yahoo.com>
To:        freebsd-doc@freebsd.org
Subject:   Re: docs/34005: mmap man page description of ENOMEM is ambiguous
Message-ID:  <200201181530.g0IFU7N41377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/34005; it has been noted by GNATS.

From: Hiten Pandya <hitmaster2k@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, grady@digitaldeck..com
Cc:  
Subject: Re: docs/34005: mmap man page description of ENOMEM is ambiguous
Date: Fri, 18 Jan 2002 15:26:40 +0000

 hmm,
 
 It is true, that it would create confusion, because it was seperated by
 a comma.  I have made a patch which will resolve this, by whacking the
 vm.max_proc_mmap thing as the last reason from the three.
 
 As in:
 
 
 [ENOMEM]         MAP_FIXED was specified and the addr parameter wasn't
                  available.  MAP_ANON was specified and insufficient 
                  memory was available.  The system has reached the per-
                  process mmap limit specified in the vm.max_proc_mmap
                  sysctl.
 
 
 I have checked the patch.  This will avoid confusion.  Please don't 
 hesistate to contact me regarding this matter.
 
 thanks,
 regards,
 
  - Hiten
  - <hiten@uk.FreeBSD.org>
 
 The patch below :=
 ==========================================================================
 
 --- mmap.2.old  Fri Jan 18 15:05:39 2002
 +++ mmap.2      Fri Jan 18 15:13:44 2002
 @@ -302,12 +302,12 @@
  .Dv MAP_FIXED
  was specified and the
  .Fa addr
 -parameter wasn't available, or the system has reached the per-process
 mmap
 -limit specified in the
 -.Va vm.max_proc_mmap
 -sysctl.
 +parameter wasn't available. 
  .Dv MAP_ANON
  was specified and insufficient memory was available.
 +The system has reached the per-process mmap limit specified in the
 +.Va vm.max_proc_mmap
 +sysctl.
  .El
  .Sh SEE ALSO
  .Xr madvise 2 ,
 
 
 =======================
 SSH Fingerprint:
 1024 45:a5:9c:f2:fb:07:da:70:18:02:0b:f3:63:f1:7a:a6 hitenp@hpdi.ath.cx

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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