From owner-freebsd-doc Fri Jan 18 7:30:28 2002 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F3F037B400 for ; Fri, 18 Jan 2002 07:30:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0IFU7N41377; Fri, 18 Jan 2002 07:30:07 -0800 (PST) (envelope-from gnats) Date: Fri, 18 Jan 2002 07:30:07 -0800 (PST) Message-Id: <200201181530.g0IFU7N41377@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Hiten Pandya Subject: Re: docs/34005: mmap man page description of ENOMEM is ambiguous Reply-To: Hiten Pandya Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/34005; it has been noted by GNATS. From: Hiten Pandya 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 - 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