cvs commit: src/sys/vm vm_map.c

Andrew Gallatin gallatin at cs.duke.edu
Mon Jun 28 12:22:41 PDT 2004


Andrew Gallatin [gallatin at 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


More information about the cvs-src mailing list