Re: Balancing ttm_mem_io_reserve() and ttm_mem_io_free()

2022-08-19 Thread Intel
Hi, Christian, On 8/19/22 10:52, Christian König wrote: Hi Thomas, IIRC we intentionally dropped that approach of balancing ttm_mem_io_reserve()/ttm_mem_io_free(). Instead the results from ttm_mem_io_reserve() are cached and that cached information is freed by ttm_mem_io_free(). In other

Re: Balancing ttm_mem_io_reserve() and ttm_mem_io_free()

2022-08-19 Thread Christian König
Hi Thomas, IIRC we intentionally dropped that approach of balancing ttm_mem_io_reserve()/ttm_mem_io_free(). Instead the results from ttm_mem_io_reserve() are cached and that cached information is freed by ttm_mem_io_free(). In other words every time we need to make sure we have the cache