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


Groups > linux.kernel > #1405572

Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of mmap_sem

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of mmap_sem
Date 2016-05-23 20:50 +0200
Message-ID <rC35o-13f-23@gated-at.bofh.it> (permalink)
References <rC1Gh-gw-3@gated-at.bofh.it> <rC1Gi-gw-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 23-05-16 20:14:11, Ebru Akagunduz wrote:
> Currently khugepaged makes swapin readahead under
> down_write. This patch supplies to make swapin
> readahead under down_read instead of down_write.

You are still keeping down_write. Can we do without it altogether?
Blocking mmap_sem of a remote proces for write is certainly not nice.
-- 
Michal Hocko
SUSE Labs

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


Thread

[PATCH 0/3] mm, thp: remove duplication and fix locking issues in swapin Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-05-23 19:20 +0200
  [PATCH 2/3] mm, thp: fix possible circular locking dependency caused by sum_vm_event() Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-05-23 19:20 +0200
  [PATCH 3/3] mm, thp: make swapin readahead under down_read of mmap_sem Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-05-23 19:20 +0200
    Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-05-23 19:50 +0200
    Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem Michal Hocko <mhocko@kernel.org> - 2016-05-23 20:50 +0200
      Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem Rik van Riel <riel@redhat.com> - 2016-05-23 20:50 +0200
        Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-05-23 21:10 +0200
          Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem Rik van Riel <riel@redhat.com> - 2016-05-23 21:30 +0200
            Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-05-23 22:10 +0200
              Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem Rik van Riel <riel@redhat.com> - 2016-05-23 22:20 +0200
                Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-05-23 23:50 +0200
                Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of  mmap_sem Andrea Arcangeli <aarcange@redhat.com> - 2016-05-24 01:10 +0200
  [PATCH 1/3] mm, thp: remove duplication of included header Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-05-23 19:20 +0200
  Re: [PATCH 0/3] mm, thp: remove duplication and fix locking issues  in swapin Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-05-23 19:30 +0200
    Re: [PATCH 0/3] mm, thp: remove duplication and fix locking issues  in swapin Michal Hocko <mhocko@kernel.org> - 2016-05-27 15:20 +0200

csiph-web