cvs commit: src/sys/vm vm_map.c

Bernd Walter ticso at cicely12.cicely.de
Mon Jun 28 17:07:33 PDT 2004


On Mon, Jun 28, 2004 at 07:45:29PM -0400, Andrew Gallatin wrote:
> 
> Bernd Walter writes:
>  > On Mon, Jun 28, 2004 at 07:15:40PM +0000, Andrew Gallatin 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.
>  > 
>  > Thanks.
>  > 
>  > Would this also explain why setting (MAX|DFL)DSIZ to n*4G never worked?
>  > 
> 
> I don't think so, this was brand-new code.

Ah - OK.

> What's the symptom of MAXDSIZ > 4GB not working?   I think the amd64
> people have fixed a lot of bugs in this area on the last few months.

The symptoms were exactly the same as in this case.
It wasn't >4G not working, but n * 4G failed - e.g. 5G was fine.
However - I never tested if the 5G could really be used.
Looked very much like a 31 or 32 bit truncation somewere.

> Have you tried it recently?  

No - Never tried those values again - just remembered my last tests a
long time ago.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de



More information about the cvs-src mailing list