From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, Davidlohr Bueso <dbueso@suse.de>,
Jan Kara <jack@suse.cz>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: [PATCH, RFC 0/2] Recover some scalability for DAX
Date: Mon, 10 Aug 2015 18:14:22 +0300 [thread overview]
Message-ID: <1439219664-88088-1-git-send-email-kirill.shutemov@linux.intel.com> (raw)
Hi all,
Currently, i_mmap_lock is huge bottleneck for DAX scalability as we use in
place of lock_page().
This patchset tries to recover some scalability by introducing per-mapping
range-lock. The range-lock itself is implemented by Jan Kara on top of
interval tree. It looks not so cheap, by should scale better than
exclusive i_mmap_lock.
Any comments?
Jan Kara (1):
lib: Implement range locks
Kirill A. Shutemov (1):
dax: use range_lock instead of i_mmap_lock
drivers/gpu/drm/Kconfig | 1 -
drivers/gpu/drm/i915/Kconfig | 1 -
fs/dax.c | 30 +++++++++--------
fs/inode.c | 1 +
include/linux/fs.h | 2 ++
include/linux/range_lock.h | 51 +++++++++++++++++++++++++++++
lib/Kconfig | 14 --------
lib/Kconfig.debug | 1 -
lib/Makefile | 3 +-
lib/range_lock.c | 78 ++++++++++++++++++++++++++++++++++++++++++++
mm/memory.c | 35 +++++++++++++-------
mm/rmap.c | 1 +
12 files changed, 174 insertions(+), 44 deletions(-)
create mode 100644 include/linux/range_lock.h
create mode 100644 lib/range_lock.c
--
2.5.0
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2015-08-10 15:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 15:14 Kirill A. Shutemov [this message]
2015-08-10 15:14 ` [PATCH, RFC 1/2] lib: Implement range locks Kirill A. Shutemov
2015-08-10 15:14 ` [PATCH, RFC 2/2] dax: use range_lock instead of i_mmap_lock Kirill A. Shutemov
2015-08-11 8:19 ` Jan Kara
2015-08-11 9:37 ` Dave Chinner
2015-08-11 11:09 ` Boaz Harrosh
2015-08-11 12:03 ` Kirill A. Shutemov
2015-08-11 13:50 ` Jan Kara
2015-08-11 14:31 ` Boaz Harrosh
2015-08-11 15:28 ` Kirill A. Shutemov
2015-08-11 16:17 ` Boaz Harrosh
2015-08-11 20:26 ` Kirill A. Shutemov
2015-08-12 7:54 ` Boaz Harrosh
2015-08-11 16:51 ` Wilcox, Matthew R
2015-08-11 18:46 ` Boaz Harrosh
2015-08-11 21:48 ` Dave Chinner
2015-08-12 8:51 ` Boaz Harrosh
2015-08-13 11:30 ` Jan Kara
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=1439219664-88088-1-git-send-email-kirill.shutemov@linux.intel.com \
--to=kirill.shutemov@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=dbueso@suse.de \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=matthew.r.wilcox@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).