]> 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)
commit1217dc16cb92211b1e214c75ba225d3c42bbc715
tree1c962608c56d83ce1d58188cfe1091f303565182
parent6040b436ff43cb49ab2687e40ad458d6cf5b5465
mm: thp: remove debug_cow switch

Since commit d0041935baceaf26849 ("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