diff options
author | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-06-29 13:13:25 -0700 |
---|---|---|
committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-07-04 17:48:39 -0700 |
commit | b74fae5492d1429c03b57a423d0837a3bdc4b397 (patch) | |
tree | 61ac7c0084864a05a04993bae4f1397ab93c7a1b /tools/perf/scripts/python/gecko.py | |
parent | 3bebfd53af0f7c8ea55094ba7b8b8b907024bb7b (diff) |
drm/msm: Add VM_BIND throttling
A large number of (unsorted or separate) small (<2MB) mappings can cause
a lot of, probably unnecessary, prealloc pages. Ie. a single 4k page
size mapping will pre-allocate 3 pages (for levels 2-4) for the
pagetable. Which can chew up a large amount of unneeded memory. So add
a mechanism to put an upper bound on the # of pre-alloc pages.
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Tested-by: Antonino Maniscalco <antomani103@gmail.com>
Reviewed-by: Antonino Maniscalco <antomani103@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/661529/
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions