diff options
| author | Ivan Orlov <[email protected]> | 2023-02-26 16:16:33 +0300 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 16:20:09 -0700 |
| commit | af7df1c986adfe0684cb0b91114e0ac442b942e9 (patch) | |
| tree | 015857b191799076df8af47225b0708c3ff76196 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | bdeb91881088810ab1d8ae620862c3b4d78f4041 (diff) | |
selftests: cgroup: add 'malloc' failures checks in test_memcontrol
There are several 'malloc' calls in test_memcontrol, which can be
unsuccessful. This patch will add 'malloc' failures checking to give more
details about test's fail reasons and avoid possible undefined behavior
during the future null dereference (like the one in
alloc_anon_50M_check_swap function).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ivan Orlov <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zefan Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions