linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH, RFC 0/2] Recover some scalability for DAX
@ 2015-08-10 15:14 Kirill A. Shutemov
  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
  0 siblings, 2 replies; 18+ messages in thread
From: Kirill A. Shutemov @ 2015-08-10 15:14 UTC (permalink / raw)
  To: Andrew Morton, Matthew Wilcox
  Cc: linux-mm, linux-fsdevel, linux-kernel, Davidlohr Bueso, Jan Kara,
	Kirill A. Shutemov

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-08-13 11:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 15:14 [PATCH, RFC 0/2] Recover some scalability for DAX Kirill A. Shutemov
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

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).