]> git.baikalelectronics.ru Git - kernel.git/commit
khugepaged: selftests: remove debug_cow
authorNanyong Sun <sunnanyong@huawei.com>
Thu, 1 Jul 2021 01:48:16 +0000 (18:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Jul 2021 03:47:26 +0000 (20:47 -0700)
commit7916943b277d37356b442c3d49e9e3802a7c53ef
treecf0690ed9272b6505b722c96165c7dce672dc652
parentef288a1f6fdf2d9ab8bb8b4da7e6a83c67168cfb
khugepaged: selftests: remove debug_cow

The debug_cow attribute had been removed since commit 1217dc16cb9221 ("mm:
thp: remove debug_cow switch"), so remove it in selftest code too,
otherwise the khugepaged test will fail.

Link: https://lkml.kernel.org/r/20210430051117.400189-1-sunnanyong@huawei.com
Fixes: 1217dc16cb9221 ("mm: thp: remove debug_cow switch")
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/vm/khugepaged.c