summaryrefslogtreecommitdiffstats
path: root/include/linux/irqnr.h
diff options
context:
space:
mode:
authorKirill A. Shutemov2017-04-13 23:56:17 +0200
committerLinus Torvalds2017-04-14 03:24:20 +0200
commit0a85e51d37645e9ce57e5e1a30859e07810ed07c (patch)
treeb56010bad2b9f938904f3fc10b9b7e9bbe21e81e /include/linux/irqnr.h
parentz3fold: fix page locking in z3fold_alloc() (diff)
downloadkernel-qcow2-linux-0a85e51d37645e9ce57e5e1a30859e07810ed07c.tar.gz
kernel-qcow2-linux-0a85e51d37645e9ce57e5e1a30859e07810ed07c.tar.xz
kernel-qcow2-linux-0a85e51d37645e9ce57e5e1a30859e07810ed07c.zip
thp: reduce indentation level in change_huge_pmd()
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>
Diffstat (limited to 'include/linux/irqnr.h')
0 files changed, 0 insertions, 0 deletions