cvs commit: src/sys/kern syscalls.master vfs_aio.c

John Baldwin jhb at freebsd.org
Mon Jan 23 10:55:56 PST 2006


On Sunday 22 January 2006 00:59, David Xu wrote:
> davidxu     2006-01-22 05:59:28 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             syscalls.master vfs_aio.c
>   Log:
>   Make aio code MP safe.

Thanks for doing this.  This is something I had sort of been working on but 
hadn't gotten too in a while.  (I don't think I had many uncommitted diffs, I 
think mostly I had just done the fget() and TAILQ_FOREACH_SAFE() cleanups I 
committed earlier.)  One thing I would appreciate is if you could add some 
comments explaining the locking strategy and annotating which fields are 
protected by which locks similar to sys/proc.h, etc.  I've attached my 
current set of diffs in case you wanted to look at them.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aio.patch
Type: text/x-diff
Size: 5949 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060123/961f7317/aio.bin


More information about the cvs-src mailing list