From: Andrew Morton <akpm@osdl.org>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, viro@math.psu.edu
Subject: Re: Patch: 2.6.7/fs/dnotify.c - make dn_lock a regular spinlock
Date: Thu, 17 Jun 2004 03:53:13 -0700 [thread overview]
Message-ID: <20040617035313.6e1d6d93.akpm@osdl.org> (raw)
In-Reply-To: <20040617163826.A4558@freya>
"Adam J. Richter" <adam@yggdrasil.com> wrote:
>
> In the near future, I expect to try to eliminate dn_lock by
> using parent_inode->i_sem instead, as the kmem_cache_t in dnotify.c
> does not need to be protected by a separate lock.
inode->i_lock would be better. Take care to keep it an "innermost" VFS
lock though. Move kmem_cache_free() outside the lock altoghter.
next prev parent reply other threads:[~2004-06-17 10:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-17 23:38 Adam J. Richter
2004-06-17 10:53 ` Andrew Morton [this message]
2004-06-17 13:45 ` Adam J. Richter
2004-06-17 15:27 ` Stephen Rothwell
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=20040617035313.6e1d6d93.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=viro@math.psu.edu \
/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®