-
由 Kui-Feng Lee 提交于
When a task iterator traverses vma(s), it is possible task->mm might become invalid in the middle of traversal and this may cause kernel misbehave (e.g., crash) This test case creates iterators repeatedly and forks short-lived processes in the background to detect this bug. The test will last for 3 seconds to get the chance to trigger the issue. Signed-off-by: NKui-Feng Lee <kuifeng@meta.com> Acked-by: NYonghong Song <yhs@fb.com> Link: https://lore.kernel.org/r/20221216221855.4122288-3-kuifeng@meta.comSigned-off-by: NAlexei Starovoitov <ast@kernel.org>
b7793c8d