]> asedeno.scripts.mit.edu Git - linux.git/commit
kunit: remove timeout dependence on sysctl_hung_task_timeout_seconds
authorAlan Maguire <alan.maguire@oracle.com>
Mon, 6 Jan 2020 22:28:21 +0000 (22:28 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Jan 2020 23:42:55 +0000 (16:42 -0700)
commit1c024d45151b51c8f8d4749e65958b0bcf3e7c52
treea687e6f87fa557afd77dc8020a336ca52f05ba16
parentc475c77d5b56398303e726969e81208196b3aab3
kunit: remove timeout dependence on sysctl_hung_task_timeout_seconds

In discussion of how to handle timeouts, it was noted that if
sysctl_hung_task_timeout_seconds is exceeded for a kunit test,
the test task will be killed and an oops generated.  This should
suffice as a means of debugging such timeout issues for now.

Hence remove use of sysctl_hung_task_timeout_secs, which has the
added benefit of avoiding the need to export that symbol from
the core kernel.

Co-developed-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/try-catch.c