Re: [PATCH] amd/amdkfd: Fix a memory limit issue

2022-11-14 Thread Felix Kuehling
Am 2022-11-14 um 13:45 schrieb Eric Huang: It is to resolve a regression, which fails to allocate VRAM due to no free memory in application, the reason is we add check of vram_pin_size for memory limit, and application is pinning the memory for Peerdirect, KFD should not count it in memory limit.

[PATCH] amd/amdkfd: Fix a memory limit issue

2022-11-14 Thread Eric Huang
It is to resolve a regression, which fails to allocate VRAM due to no free memory in application, the reason is we add check of vram_pin_size for memory limit, and application is pinning the memory for Peerdirect, KFD should not count it in memory limit. So removing vram_pin_size will resolve it.