Re: [PATCHv2 1/8] khugepaged: Add self test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 06, 2020 at 10:59:52AM -0400, Zi Yan wrote:
> I ran this test with all patches from this series applied to Linus’s
> tree, but still see several failures. Is it expected?

[Thanks for catching all my typos]

No. It works fine for me.
Well, occasionally, it fails to swap out a page, but nothing like you have
here.

Could you try to trace it? I used script like below after mounting
tracefs. You may want to comment out all tests but a failing one.

#!/bin/sh -efu

echo > /sys/kernel/tracing/trace
echo 1 > /sys/kernel/tracing/events/huge_memory/enable

while ./khugepaged; do
	echo > /sys/kernel/tracing/trace
done

cat /sys/kernel/tracing/trace

-- 
 Kirill A. Shutemov





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux