mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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/
This commit is contained in:
committed by
Christian König
parent
a66da873c4
commit
6e60d5ded0
@@ -14,6 +14,7 @@ selftest(insert, igt_insert)
|
||||
selftest(replace, igt_replace)
|
||||
selftest(insert_range, igt_insert_range)
|
||||
selftest(align, igt_align)
|
||||
selftest(frag, igt_frag)
|
||||
selftest(align32, igt_align32)
|
||||
selftest(align64, igt_align64)
|
||||
selftest(evict, igt_evict)
|
||||
|
||||
Reference in New Issue
Block a user