On Wed, 2026-11-25 at 16:36 -0300, Eduardo P. Gomez wrote: > Hi Thomas, > > > Did you actually see any instance of remaining GPUReclaim memory > > when OOM > was hit? > > Yes. Twice actually. During a userspace memory-pressure test on my 32 > GiB > desktop running kernel 7.3.5 without my TTM patch, the kernel > reported two > global OOMs and killed kde-ram (the test I mentioned before) both > times: > > 2026-11-23 21:43:51 -0300. gpu_reclaim:10045728kB global_oom > 2026-11-23 21:44:08 -0300 gpu_reclaim:10045736kB global_oom > > About 9.58 GiB was still reported as reclaimable GPU memory at the > time of > each OOM. > > The full kernel log for the first event is here: > https://paste.rs/ajafn
Judging from the log there is also a high number of inactive_file pages available that are not reclaimed. This IMO points to something odd happening with reclaim itself rather than something specific to the ttm pool shrinker? Thanks, Thomas
