mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: lizf@cn.fujitsu.com, linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] TOMOYO: Clarify lock protected section.
Date: Tue, 2 Jun 2009 15:08:52 +1000 (EST)	[thread overview]
Message-ID: <alpine.LRH.2.00.0906021507360.10061@tundra.namei.org> (raw)
In-Reply-To: <200906020230.n522UjfJ013581@www262.sakura.ne.jp>

On Tue, 2 Jun 2009, Tetsuo Handa wrote:

> I intended to help reviewers to visualize the range of protected section
> at a glance. But if reviewers feel noisy, I can remove these markers.

The lock functions act as annotations, you don't need to add any more.  

Only add comments if the code is not obvious, but also first ask whether 
this might mean that there's something wrong.

-- 
James Morris
<jmorris@namei.org>

  parent reply	other threads:[~2009-06-02  5:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02  1:43 Tetsuo Handa
2009-06-02  2:21 ` Li Zefan
2009-06-02  2:30   ` Tetsuo Handa
2009-06-02  2:37     ` Li Zefan
2009-06-02  2:43     ` Serge E. Hallyn
2009-06-02  3:42       ` Tetsuo Handa
2009-06-02  5:08     ` James Morris [this message]
2009-06-02  5:23       ` Tetsuo Handa
2009-06-02 21:51         ` James Morris

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=alpine.LRH.2.00.0906021507360.10061@tundra.namei.org \
    --to=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®