aio_mlock(2) system call

Gleb Smirnoff glebius at FreeBSD.org
Wed Jun 5 06:52:59 UTC 2013


  Jilles,

On Tue, Jun 04, 2013 at 11:29:17PM +0200, Jilles Tjoelker wrote:
...
J> This should probably be in alphabetical order.
...
J> Man pages should not use contractions.

Fixed.

J> > [snip]
J> > Index: sys/sys/aio.h
J> > ===================================================================
J> > --- sys/sys/aio.h	(revision 251369)
J> > +++ sys/sys/aio.h	(working copy)
J> > @@ -38,6 +38,7 @@
J> >  #ifdef _KERNEL
J> >  #define	LIO_SYNC		0x3
J> >  #endif
J> > +#define	LIO_MLOCK		0x4
J> 
J> Is it intended that the new constant is available to userland, such as
J> for use in lio_listio(2)?

Hmm, I didn't intended such usage and didn't test it. You are right, I'd better
hide the constant.

Updated patch attached.

-- 
Totus tuus, Glebius.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aio_mlock.diff
Type: text/x-diff
Size: 15567 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20130605/82e615e0/attachment.diff>


More information about the freebsd-arch mailing list