diff options
| author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2026-03-17 15:18:55 +0100 |
|---|---|---|
| committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2026-03-20 10:38:10 +0100 |
| commit | c6135f67aa37a4a744869f726d706bda091e6dfa (patch) | |
| tree | 80effcbaa7bce4213ba0446ea6f164fe4285e197 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 55fcf74cc2330580659426a57d1fa0125f7326b3 (diff) | |
drm/ttm: Avoid invoking the OOM killer when reading back swapped content
In situations where the system is very short on RAM, the shmem
readback from swap-space may invoke the OOM killer.
However, since this might be a recoverable situation where the caller
is indicating this by setting
struct ttm_operation_ctx::gfp_retry_mayfail to true, adjust the gfp
value used by the allocation accordingly.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Acked-by: Christian König <christian.koening@amd.com>
Link: https://patch.msgid.link/20260317141856.237876-3-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
