Date: Mon, 22 Nov 2010 12:42:32 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linux linux_emul.c Message-ID: <201011221242.oAMCgkBt020956@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2010-11-22 12:42:32 UTC FreeBSD src repository Modified files: sys/compat/linux linux_emul.c Log: SVN rev 215675 on 2010-11-22 12:42:32Z by netchild 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 side-effect of assignment is the same thread that does assignment. Use a more appropriate conditional to detect the linux ABI. Suggested by: kib X-MFC: together with r215664 Revision Changes Path 1.25 +3 -5 src/sys/compat/linux/linux_emul.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011221242.oAMCgkBt020956>