Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 11:07:15 -0600
From:      Alan Cox <alc@cs.rice.edu>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_mmap.c
Message-ID:  <20040315170715.GM21071@cs.rice.edu>
In-Reply-To: <200403150636.i2F6atAN066155@repoman.freebsd.org>
References:  <200403150636.i2F6atAN066155@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 14, 2004 at 10:36:55PM -0800, Don Lewis wrote:
> truckman    2004/03/14 22:36:55 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               vm_mmap.c 
>   Log:
>   Remove redundant suser() check.
>   
>   Revision  Changes    Path
>   1.183     +0 -4      src/sys/vm/vm_mmap.c

I think the same would apply to munlockall(2).  In general, I would
encourage you to take a look at mlockall(2) and munlockall(2) with
an eye toward reducing the stylistic differences in how mlock(2) and
munlock(2) versus mlockall(2) and munlockall(2) are written.

Regards,
Alan



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