From: Matt Klein <matt.klein@pikewerks.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org, Nick Piggin <nickpiggin@yahoo.com.au>
Subject: Re: Cached IO Synchronization Question
Date: Wed, 08 Apr 2009 08:56:38 -0700 [thread overview]
Message-ID: <49DCC936.70509@pikewerks.com> (raw)
In-Reply-To: <1239204217.4557.2590.camel@laptop>
>
> Note how do_generic_file_read() checks PageUptodate() and does a
> lock_page_killable() in case its not.
>
>
>
As far as I can tell there is nothing to prevent the page from becoming
out of date (or someone doing a full page cached write) after the
PageUptodate() check returns up to date.
So I have concluded that cached read/write interleaving is not
synchronized. This is the behavior found on Windows.
next prev parent reply other threads:[~2009-04-08 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 21:31 Cached IO Synchronization Question Matt Klein
2009-04-08 15:23 ` Peter Zijlstra
2009-04-08 15:56 ` Matt Klein [this message]
2009-04-09 3:56 ` Nick Piggin
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=49DCC936.70509@pikewerks.com \
--to=matt.klein@pikewerks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=peterz@infradead.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 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.