From owner-cvs-src@FreeBSD.ORG Mon Jun 28 19:22:41 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 321EC16A4CE; Mon, 28 Jun 2004 19:22:41 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53B843D53; Mon, 28 Jun 2004 19:22:38 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i5SJMcqM021835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Jun 2004 15:22:38 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i5SJMXY6003003; Mon, 28 Jun 2004 15:22:33 -0400 (EDT) (envelope-from gallatin) Date: Mon, 28 Jun 2004 15:22:33 -0400 From: Andrew Gallatin To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20040628152232.A2977@grasshopper.cs.duke.edu> References: <200406281915.i5SJFeaV060231@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200406281915.i5SJFeaV060231@repoman.freebsd.org>; from gallatin@FreeBSD.org on Mon, Jun 28, 2004 at 07:15:40PM +0000 X-Operating-System: FreeBSD 4.9-RELEASE-p1 on an i386 Subject: Re: cvs commit: src/sys/vm vm_map.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 19:22:41 -0000 Andrew Gallatin [gallatin@FreeBSD.org] wrote: > gallatin 2004-06-28 19:15:40 UTC > > FreeBSD src repository > > Modified files: > sys/vm vm_map.c > Log: > Fix alpha - the use of min() on longs was loosing the high bits and > returning wrong answers, leading to strange values vm2->vm_{s,t,d}size. Why are min() and max() inlines which operate on ints? This seems like a real landmine for 64-bit platforms.. Drew