From: Al Viro <viro@ZenIV.linux.org.uk>
To: Miao Xie <miaox@cn.fujitsu.com>
Cc: Linux Fsdevel <linux-fsdevel@vger.kernel.org>, Jan Kara <jack@suse.cz>
Subject: Re: [PATCH] vfs, freeze: use ACCESS_ONCE() to guard access to ->mnt_flags
Date: Fri, 16 Nov 2012 13:25:39 +0000 [thread overview]
Message-ID: <20121116132539.GV2616@ZenIV.linux.org.uk> (raw)
In-Reply-To: <50A60626.4080200@cn.fujitsu.com>
On Fri, Nov 16, 2012 at 05:23:50PM +0800, Miao Xie wrote:
> The compiler may optimize the while loop and make the check just be done once,
> so we should use ACCESS_ONCE() to guard access to ->mnt_flags
Applied.
prev parent reply other threads:[~2012-11-16 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 9:23 [PATCH] vfs, freeze: use ACCESS_ONCE() to guard access to ->mnt_flags Miao Xie
2012-11-16 13:25 ` Al Viro [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121116132539.GV2616@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miaox@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.