]> git.baikalelectronics.ru Git - kernel.git/commit
mm: thp: remove debug_cow switch
authorYang Shi <yang.shi@linux.alibaba.com>
Wed, 12 Aug 2020 01:31:48 +0000 (18:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:57:57 +0000 (10:57 -0700)
commit1e21d2e32a5c37d1ccadd95209bb4dff4bf78ced
tree1c962608c56d83ce1d58188cfe1091f303565182
parent292ae7e3aa64a7cfaaa26581fa1e7c6f30bb92f3
mm: thp: remove debug_cow switch

Since commit 821c577da574d00fa0e ("thp: change CoW semantics for
anon-THP"), the CoW page fault of THP has been rewritten, debug_cow is not
used anymore.  So, just remove it.

Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/1592270980-116062-1-git-send-email-yang.shi@linux.alibaba.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/huge_mm.h
mm/huge_memory.c