Re: [PATCH]: trivial sys_mincore cleanup

Alex Riesen (alexander.riesen@synopsys.COM)
Tue, 31 Dec 2002 10:23:42 +0100


Gianni Tedesco, Fri, Dec 20, 2002 12:17:54 +0100:
> Patch makes 2 simple cleanups:
> - Checks the syscall parameters before grabbing mmap semaphore.
> - Tidy up a comment.

The comment is actually right: it is an old mathematical notation
to describe regions - from start until end, but not including the end.

> /*
> - * If the interval [start,end) covers some unmapped address
> + * If the interval [start,end] covers some unmapped address
> * ranges, just ignore them, but return -ENOMEM at the end.
> */

-alex

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/