Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1375672

Re: [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files
Date 2016-04-11 12:40 +0200
Message-ID <rmHqa-4eH-13@gated-at.bofh.it> (permalink)
References <rkFVw-1aF-7@gated-at.bofh.it> <rkGeT-1hF-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 05, 2016 at 01:52:48PM -0700, Hugh Dickins wrote:
> Whatever huge pagecache implementation we go with, file rmap locking
> must be added to anon rmap locking, when mremap's move_page_tables()
> finds a pmd_trans_huge pmd entry: a simple change, let's do it now.
> 
> Factor out take_rmap_locks() and drop_rmap_locks() to handle the
> locking for make move_ptes() and move_page_tables(), and delete
> the VM_BUG_ON_VMA which rejected vm_file and required anon_vma.
> 
> Signed-off-by: Hugh Dickins <hughd@google.com>

Yeah, it's cleaner than my variant.

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

-- 
 Kirill A. Shutemov

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] mm: easy preliminaries to THPagecache Hugh Dickins <hughd@google.com> - 2016-04-05 22:40 +0200
  [PATCH 01/10] mm: update_lru_size warn and reset bad lru_size Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
    Re: [PATCH 01/10] mm: update_lru_size warn and reset bad lru_size Vlastimil Babka <vbabka@suse.cz> - 2016-04-14 14:00 +0200
  [PATCH 06/10] mm: /proc/sys/vm/stat_refresh to force vmstat update Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
  [PATCH 03/10] mm: use __SetPageSwapBacked and dont  ClearPageSwapBacked Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
    Re: [PATCH 03/10] mm: use __SetPageSwapBacked and dont  ClearPageSwapBacked Mel Gorman <mgorman@techsingularity.net> - 2016-04-06 12:00 +0200
  [PATCH 02/10] mm: update_lru_size do the __mod_zone_page_state Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
  [PATCH 04/10] tmpfs: preliminary minor tidyups Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
  [PATCH 05/10] tmpfs: mem_cgroup charge fault to vm_mm not current  mm Hugh Dickins <hughd@google.com> - 2016-04-05 22:50 +0200
  [PATCH 09/10] huge pagecache: mmap_sem is unlocked when truncation  splits pmd Hugh Dickins <hughd@google.com> - 2016-04-05 23:00 +0200
    Re: [PATCH 09/10] huge pagecache: mmap_sem is unlocked when  truncation splits pmd "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-04-11 12:40 +0200
    Re: [PATCH 09/10] huge pagecache: mmap_sem is unlocked when  truncation splits pmd Matthew Wilcox <willy@linux.intel.com> - 2016-04-14 19:40 +0200
  [PATCH 07/10] huge mm: move_huge_pmd does not need new_vma Hugh Dickins <hughd@google.com> - 2016-04-05 23:00 +0200
    Re: [PATCH 07/10] huge mm: move_huge_pmd does not need new_vma "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-04-11 12:30 +0200
  [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to  files Hugh Dickins <hughd@google.com> - 2016-04-05 23:00 +0200
    Re: [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to  files "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-04-11 12:40 +0200
  [PATCH 10/10] arch: fix has_transparent_hugepage() Hugh Dickins <hughd@google.com> - 2016-04-05 23:10 +0200
    Re: [PATCH 10/10] arch: fix has_transparent_hugepage() David Miller <davem@davemloft.net> - 2016-04-06 01:30 +0200
    Re: [PATCH 10/10] arch: fix has_transparent_hugepage() Ingo Molnar <mingo@kernel.org> - 2016-04-06 09:00 +0200
      Re: [PATCH 10/10] arch: fix has_transparent_hugepage() Ingo Molnar <mingo@kernel.org> - 2016-04-07 00:00 +0200
    Re: [PATCH 10/10] arch: fix has_transparent_hugepage() Gerald Schaefer <gerald.schaefer@de.ibm.com> - 2016-04-06 14:00 +0200

csiph-web