lkml.org 
[lkml]   [2020]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] hugetlbfs: use hinode_rwsem for pmd sharing synchronization
Date
The RFC series reverted all patches where i_mmap_rwsem was used for
pmd sharing synchronization, and then added code to use hinode_rwsem.
This series ends up with the same code in the end, but is structured
as follows:

- Revert the page fault/truncation race patch which depends on i_mmap_rwsem
always being taken in page fault path.
- Add hinode_rwsem to hugetlbfs specific inode and supporting routines.
- Convert code from using i_mmap_rwsem for pmd sharing synchronization
to using hinode_rwsem.
- Add code to more robustly deal with page fault/truncation races.

My hope is that this will be easier to review.

Mike Kravetz (4):
Revert hugetlbfs: Use i_mmap_rwsem to address page fault/truncate race
hugetlbfs: add hinode_rwsem to hugetlb specific inode
hugetlbfs: use hinode_rwsem for pmd sharing synchronization
huegtlbfs: handle page fault/truncate races

fs/hugetlbfs/inode.c | 105 +++++++++-------
include/linux/fs.h | 15 ---
include/linux/hugetlb.h | 129 ++++++++++++++++++--
mm/hugetlb.c | 262 ++++++++++++++++------------------------
mm/memory-failure.c | 34 ++----
mm/memory.c | 5 +
mm/migrate.c | 34 +++---
mm/rmap.c | 21 ++--
mm/userfaultfd.c | 17 ++-
9 files changed, 334 insertions(+), 288 deletions(-)

--
2.28.0

\
 
 \ /
  Last update: 2020-11-03 01:29    [W:0.084 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site