summaryrefslogtreecommitdiffstats
path: root/drivers/ras
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2017-04-13 14:56:17 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-16 10:33:50 +0100
commitd4443b53732e5e98220ec8777d11e3c9eb87f5fd (patch)
treeaba2acb26f17746e9edd58803852a200c6eb9840 /drivers/ras
parent696fbe191acd2809e2e8b385b455845cf0a18887 (diff)
downloadlinux-stable-d4443b53732e5e98220ec8777d11e3c9eb87f5fd.tar.gz
linux-stable-d4443b53732e5e98220ec8777d11e3c9eb87f5fd.tar.bz2
linux-stable-d4443b53732e5e98220ec8777d11e3c9eb87f5fd.zip
thp: reduce indentation level in change_huge_pmd()
commit 0a85e51d37645e9ce57e5e1a30859e07810ed07c upstream. Patch series "thp: fix few MADV_DONTNEED races" For MADV_DONTNEED to work properly with huge pages, it's critical to not clear pmd intermittently unless you hold down_write(mmap_sem). Otherwise MADV_DONTNEED can miss the THP which can lead to userspace breakage. See example of such race in commit message of patch 2/4. All these races are found by code inspection. I haven't seen them triggered. I don't think it's worth to apply them to stable@. This patch (of 4): Restructure code in preparation for a fix. Link: http://lkml.kernel.org/r/20170302151034.27829-2-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> [jwang: adjust context for 4.4 kernel] Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions