diff options
author | davidxu <davidxu@FreeBSD.org> | 2010-11-22 02:42:02 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2010-11-22 02:42:02 +0000 |
commit | b05094dc42c002877bf4b52a97ccc4af2a03adaf (patch) | |
tree | 5bb190d7a7b8b23e088da11f360c3985ab408467 /sys/compat/linux/linux_emul.c | |
parent | 08a93ec3b7a224311c5ad5e352f3b55bfb349524 (diff) | |
download | FreeBSD-src-b05094dc42c002877bf4b52a97ccc4af2a03adaf.zip FreeBSD-src-b05094dc42c002877bf4b52a97ccc4af2a03adaf.tar.gz |
Use atomic instruction to set _has_writer, otherwise there is a race
causes userland to not wake up a thread sleeping in kernel.
MFC after: 3 days
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
0 files changed, 0 insertions, 0 deletions