On 8/29/20 5:22 PM, Yonghong Song wrote:
LOCKDEP=y DEBUG_ATOMIC_SLEEP=y LOCK_DEBUGGING_SUPPORT=y KASAN=y in my .config and don't see it :( Could pls send me your .config?The config file is attached. In my environment, the warning is only printed out during the first run of `./test_progs -t lsm`. All later runs did not have this warning.
Thanks. Turned out LOCKDEP=y and DEBUG_ATOMIC_SLEEP=y wasn't enough. My config was missing PROVE_LOCKING=y.