[PATCH] drm/ttm: Remove set_need_resched from the ttm fault handler

2013-11-18 Thread Jakob Bornecrantz
On Thu, Nov 14, 2013 at 7:49 PM, Thomas Hellstrom wrote: > Addresses > "[BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE". > > In the first occurence it was used to try to be nice while releasing the > mmap_sem and retrying the fault to work around a locking inversion. > The sec

[PATCH] drm/ttm: Remove set_need_resched from the ttm fault handler

2013-11-14 Thread Thomas Hellstrom
Addresses "[BUG] completely bonkers use of set_need_resched + VM_FAULT_NOPAGE". In the first occurence it was used to try to be nice while releasing the mmap_sem and retrying the fault to work around a locking inversion. The second occurence was never used. There has been some discussion whether