diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-19 17:32:52 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-19 17:48:47 -0700 |
commit | fd727b42f29074290f41142016a7b5157b7bca56 (patch) | |
tree | 3c7d36af2fe1d09e1d7fb7647b03ce4555768d09 /src/modules/sparkler/helpers.h | |
parent | a2f7397d289a21d1077c205e1d3c2beee7b39ac4 (diff) |
mem_fb: keep spare pages on a free list
Snapshotting made page alloc/free more frequent, and
modules/mixer really hammers on snapshots in fade mode... drizzle
as well, but mixer snapshots both module outputs per frame.
So by keeping these around the reclaimed page snapshots can be
held onto at within the fb as spares for quicker allocation. In
practice it should just hit a high water mark of a working set
for spare pages, once in a steady state, assuming snapshots
aren't leaking.
Future commits will replicate this change in {drm,sdl}_fb
Diffstat (limited to 'src/modules/sparkler/helpers.h')
0 files changed, 0 insertions, 0 deletions