From owner-cvs-all@FreeBSD.ORG Sat Jun 19 14:46:47 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB0CF16A4CE; Sat, 19 Jun 2004 14:46:47 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DA1743D39; Sat, 19 Jun 2004 14:46:47 +0000 (GMT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5JEkDLC010188; Sat, 19 Jun 2004 14:46:13 GMT (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5JEkDKZ010187; Sat, 19 Jun 2004 14:46:13 GMT (envelope-from tjr) Message-Id: <200406191446.i5JEkDKZ010187@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sat, 19 Jun 2004 14:46:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sysv_shm.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 14:46:47 -0000 tjr 2004-06-19 14:46:13 UTC FreeBSD src repository Modified files: sys/kern sysv_shm.c Log: When no fixed address is given in a shmat() request, pass a hint address to vm_map_find() that is less likely to be outside of addressable memory for 32-bit processes: just past the end of the largest possible heap. This is the same hint that mmap() uses. Revision Changes Path 1.92 +5 -2 src/sys/kern/sysv_shm.c