Re: [PATCH v5 1/1] drm/amdkfd: Track unified memory when switching xnack mode

2022-09-29 Thread Philip Yang
On 2022-09-28 15:02, Felix Kuehling wrote: Am 2022-09-28 um 12:11 schrieb Philip Yang: Unified memory usage with xnack off is tracked to avoid oversubscribe system memory, with xnack on, we don't track unified memory usage to allow memory oversubscribe. When switching xnack mode from off to

Re: [PATCH v5 1/1] drm/amdkfd: Track unified memory when switching xnack mode

2022-09-28 Thread Felix Kuehling
Am 2022-09-28 um 12:11 schrieb Philip Yang: Unified memory usage with xnack off is tracked to avoid oversubscribe system memory, with xnack on, we don't track unified memory usage to allow memory oversubscribe. When switching xnack mode from off to on, subsequent free ranges allocated with

[PATCH v5 1/1] drm/amdkfd: Track unified memory when switching xnack mode

2022-09-28 Thread Philip Yang
Unified memory usage with xnack off is tracked to avoid oversubscribe system memory, with xnack on, we don't track unified memory usage to allow memory oversubscribe. When switching xnack mode from off to on, subsequent free ranges allocated with xnack off will not unreserve memory. When switching