Is Nouveau really using the io_reserve_lru?

Christian König ckoenig.leichtzumerken at gmail.com
Tue Sep 24 12:19:41 UTC 2019


Hi guys,

while working through more old TTM functionality I stumbled over the 
io_reserve_lru.

Basic idea is that when this flag is set the driver->io_mem_reserve() 
callback can return -EAGAIN resulting in unmapping of other BOs.

But Nouveau doesn't seem to return -EAGAIN in the call path of 
io_mem_reserve anywhere.

So is this unused or am I missing something?

Regards,
Christian.


More information about the dri-devel mailing list