From: "Robert W. Maloy" <r.w.maloy@acm.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Possible error in fs/buffer.c
Date: Fri, 2 Apr 2004 05:46:57 -0500 [thread overview]
Message-ID: <200404020546.57471.r.w.maloy@acm.org> (raw)
In-Reply-To: <20040401162627.7b3f48c7.akpm@osdl.org>
> Andrew Morton wrote:
> This is saying "is the buffer is not on any list, then place it on
> the mapping's list now. If the buffer _is_ already on some list
> then we know it must already be on mapping->private_list, so we
> have nothing to do".
>
> Re-dirtying an already-dirty buffer is an extremely common case,
> and here we look for an opportunity to avoid dirtying a cacheline
> or two.
This makes some since except that
buffer_insert_list(&buffer_mapping->private_lock,
bh, &mapping->private_list);
only adds &bh->b_assoc_buffers to the end of mapping->private_list
not the buffer itself.
--
Cheers
Rob Maloy
r.w.maloy@acm.org
(410) 854-6637
prev parent reply other threads:[~2004-04-02 10:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 15:43 Robert W. Maloy
2004-04-02 0:26 ` Andrew Morton
2004-04-02 10:46 ` Robert W. Maloy [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=200404020546.57471.r.w.maloy@acm.org \
--to=r.w.maloy@acm.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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®