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


Groups > linux.kernel > #1592325

Re: [PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race
Date 2017-03-03 23:50 +0100
Message-ID <th4bn-7P9-9@gated-at.bofh.it> (permalink)
References <tgAGm-4bI-11@gated-at.bofh.it> <tgBj4-4tT-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu,  2 Mar 2017 18:10:34 +0300 "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> wrote:

> Yet another instance of the same race.
> 
> Fix is identical to change_huge_pmd().

Nit: someone who is reading this changelog a year from now will be
quite confused - how do they work out what the race was?

I'll add

: See "thp: fix MADV_DONTNEED vs. numa balancing race" for more details.

to the changelogs to help them a bit.

Also, it wasn't a great idea to start this series with a "Restructure
code in preparation for a fix".  If people later start hitting this
race, the fixes will be difficult to backport.  I'm OK with taking that
risk, but please do bear this in mind in the future.

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


Thread

[PATCH 0/4] thp: fix few MADV_DONTNEED races "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-02 16:20 +0100
  [PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-02 17:00 +0100
    Re: [PATCH 4/4] thp: fix MADV_DONTNEED vs clear soft dirty race Andrew Morton <akpm@linux-foundation.org> - 2017-03-03 23:50 +0100
  [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-02 17:00 +0100
    Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2017-03-03 06:40 +0100
      Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-03 11:30 +0100
        Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race Minchan Kim <minchan@kernel.org> - 2017-03-06 03:00 +0100
          Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-03-07 15:40 +0100
    Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> - 2017-03-06 03:50 +0100
      Re: [PATCH 3/4] thp: fix MADV_DONTNEED vs. MADV_FREE race "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-03-07 15:50 +0100
  [PATCH 1/4] thp: reduce indentation level in change_huge_pmd() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-02 17:00 +0100
  [PATCH 2/4] thp: fix MADV_DONTNEED vs. numa balancing race "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-03-03 03:20 +0100
    Re: [PATCH 2/4] thp: fix MADV_DONTNEED vs. numa balancing race Dave Hansen <dave.hansen@intel.com> - 2017-03-03 18:20 +0100

csiph-web