Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2004 15:22:33 -0400
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_map.c
Message-ID:  <20040628152232.A2977@grasshopper.cs.duke.edu>
In-Reply-To: <200406281915.i5SJFeaV060231@repoman.freebsd.org>; from gallatin@FreeBSD.org on Mon, Jun 28, 2004 at 07:15:40PM %2B0000
References:  <200406281915.i5SJFeaV060231@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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