diff options
| author | Nirmoy Das <nirmoy.aiemd@gmail.com> | 2020-06-05 12:14:02 +0300 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2020-06-08 16:14:16 +0300 |
| commit | 6e60d5ded06baa69cca0b6337053c99b54211624 (patch) | |
| tree | d1f84587cd2027172c587c466bca7beb0a0cce25 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | a66da873c424fd9a695ae945d6e0160bb467dcf9 (diff) | |
| download | linux-6e60d5ded06baa69cca0b6337053c99b54211624.tar.xz | |
drm/mm: add ig_frag selftest
This patch introduces fragmentation in the address range
and measures time taken by 10k and 20k insertions. ig_frag()
will fail if the time taken by 20k insertions takes more than
4 times of 10k insertions as we know that insertions should at
most scale quadratically.
v2:
introduce fragmentation by freeing every other node.
only test bottom-up and top-down for now.
v3:
fix incorrect mode check
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/369076/
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
