Subject: Re: CVS commit: src/sys/uvm
To: Antti Kantee <pooka@cs.hut.fi>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 05/11/2007 16:41:35
On May 11, 11:09pm, pooka@cs.hut.fi (Antti Kantee) wrote:
-- Subject: Re: CVS commit: src/sys/uvm

| On Fri May 11 2007 at 20:05:51 +0000, Christos Zoulas wrote:
| > 
| > Module Name:	src
| > Committed By:	christos
| > Date:		Fri May 11 20:05:51 UTC 2007
| > 
| > Modified Files:
| > 	src/sys/uvm: uvm_mmap.c
| > 
| > Log Message:
| > fix bogus wrap tests; ssize_t != int...
| 
| I'd argue that it's still bogus.  Why would it be illegal for the size
| parameter to be <0 when typecast to ssize_t?

This test makes the upper limit of the size to 1/2 of the available space.
I don't know why it was put there but all the mapping functions have it.
Look at the next commit :-)

christos