Re: svn commit: r215675 - head/sys/compat/linux

2010-11-22 Thread Erik Cederstrand
Den 22/11/2010 kl. 13.42 skrev Alexander Leidinger: > Author: netchild > Date: Mon Nov 22 12:42:32 2010 > New Revision: 215675 > URL: http://svn.freebsd.org/changeset/base/215675 > > Log: > Do not take the process lock. The assignment to u_short inside the > properly aligned structure is atomi

Re: svn commit: r215675 - head/sys/compat/linux

2010-11-22 Thread John Baldwin
On Monday, November 22, 2010 7:51:06 am Kostik Belousov wrote: > On Mon, Nov 22, 2010 at 12:42:32PM +, Alexander Leidinger wrote: > > Author: netchild > > Date: Mon Nov 22 12:42:32 2010 > > New Revision: 215675 > > URL: http://svn.freebsd.org/changeset/base/215675 > > > > Log: > > Do not tak

Re: svn commit: r215675 - head/sys/compat/linux

2010-11-22 Thread Kostik Belousov
On Mon, Nov 22, 2010 at 12:42:32PM +, Alexander Leidinger wrote: > Author: netchild > Date: Mon Nov 22 12:42:32 2010 > New Revision: 215675 > URL: http://svn.freebsd.org/changeset/base/215675 > > Log: > Do not take the process lock. The assignment to u_short inside the > properly aligned s

svn commit: r215675 - head/sys/compat/linux

2010-11-22 Thread Alexander Leidinger
Author: netchild Date: Mon Nov 22 12:42:32 2010 New Revision: 215675 URL: http://svn.freebsd.org/changeset/base/215675 Log: Do not take the process lock. The assignment to u_short inside the properly aligned structure is atomic on all supported architectures, and the thread that should see s