summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRob Clark <robin.clark@oss.qualcomm.com>2025-06-29 23:13:25 +0300
committerRob Clark <robin.clark@oss.qualcomm.com>2025-07-05 03:48:39 +0300
commitb74fae5492d1429c03b57a423d0837a3bdc4b397 (patch)
tree61ac7c0084864a05a04993bae4f1397ab93c7a1b /tools/perf/scripts/python/sched-migration.py
parent3bebfd53af0f7c8ea55094ba7b8b8b907024bb7b (diff)
downloadlinux-b74fae5492d1429c03b57a423d0837a3bdc4b397.tar.xz
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions