From: Paolo Bonzini <pbonzini@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Hugh Dickins <hughd@google.com>,
Chris Friesen <chris.friesen@genband.com>
Subject: Re: [PATCH v2 2/2] msync: start async writeout when MS_ASYNC
Date: Mon, 02 Jul 2012 10:15:20 +0200 [thread overview]
Message-ID: <4FF15898.4080506@redhat.com> (raw)
In-Reply-To: <20120622142627.b6184eda.akpm@linux-foundation.org>
Il 22/06/2012 23:26, Andrew Morton ha scritto:
>> If the application does not want to start I/O, it can simply call msync
>> with flags equal to MS_INVALIDATE. This one remains a no-op, as it should
>> be on a reasonable implementation.
>
> Using MS_INVALIDATE is a bit of a hack.
Right, you could use flags == 0.
I'm not _that_ attached to this patch, I'll send a v3 of the other one
and drop this one.
Paolo
prev parent reply other threads:[~2012-07-02 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 15:12 [PATCH v2 0/2] msync improvements Paolo Bonzini
2012-06-15 15:12 ` [PATCH v2 1/2] msync: support syncing a small part of the file Paolo Bonzini
2012-06-22 21:12 ` Andrew Morton
2012-07-02 8:14 ` Paolo Bonzini
2012-06-15 15:12 ` [PATCH v2 2/2] msync: start async writeout when MS_ASYNC Paolo Bonzini
2012-06-22 21:26 ` Andrew Morton
2012-07-02 8:15 ` Paolo Bonzini [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=4FF15898.4080506@redhat.com \
--to=pbonzini@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=chris.friesen@genband.com \
--cc=hughd@google.com \
--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 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.