User: Password:
|
|
Subscribe / Log in / New account

msync improvements

From:  Paolo Bonzini <pbonzini@redhat.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH v2 0/2] msync improvements
Date:  Fri, 15 Jun 2012 17:12:57 +0200
Message-ID:  <1339773179-31210-1-git-send-email-pbonzini@redhat.com>
Cc:  Andrew Morton <akpm@linux-foundation.org>, Hugh Dickins <hughd@google.com>, Chris Friesen <chris.friesen@genband.com>
Archive-link:  Article

These two patches are improvements on the implementation of the msync
system call.  To give some context, I found them while working on
the implementation of a persistent dirty bitmap.

Paolo Bonzini (2):
  msync: support syncing a small part of the file
  msync: start async writeout when MS_ASYNC

 include/linux/fs.h |    3 +-
 mm/fadvise.c       |    2 +-
 mm/filemap.c       |   11 +++++---
 mm/msync.c         |   63 +++++++++++++++++++++++++++++++++-------------------
 4 files changed, 50 insertions(+), 29 deletions(-)




Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds