1. 16 8月, 2017 18 次提交
  2. 14 7月, 2017 2 次提交
  3. 01 6月, 2017 1 次提交
  4. 14 6月, 2017 1 次提交
  5. 01 6月, 2017 2 次提交
  6. 16 5月, 2017 1 次提交
  7. 02 3月, 2017 3 次提交
  8. 28 2月, 2017 1 次提交
  9. 16 1月, 2017 1 次提交
  10. 12 1月, 2017 1 次提交
  11. 20 9月, 2016 5 次提交
  12. 09 8月, 2016 1 次提交
  13. 03 7月, 2016 2 次提交
    • O
      7fd5e03c
    • B
      drm/amdkfd: Remove create_workqueue() · fd320bf6
      Bhaktipriya Shridhar 提交于
      alloc_workqueue replaces deprecated create_workqueue().
      
      create_workqueue has been replaced with alloc_workqueue with max_active
      as 0 since there is no need for throttling the number of active work items.
      
      WQ_MEM_RECLAIM has not been set to because kfd_process_wq will not be
      used in memory reclaim path.
      
      kfd_process_wq is used for delay destruction. A work item embedded in
      kfd_process gets queued to kfd_process_wq and when it executes it
      destroys and frees the containing kfd_process and thus itself.
      
      This requires a dedicated workqueue because a work item once queued, may
      get freed at any point of time and any external entity cannot
      flush the work item. So, in order to wait for such a work item,
      it needs to be put on a dedicated workqueue.
      
      kfd_module_exit() calls kfd_process_destroy_wq which ensures that all
      pending work items are finished before the module is removed.
      
      flush_workqueue is unnecessary since destroy_workqueue() itself calls
      drain_workqueue() which flushes repeatedly till the workqueue
      becomes empty.
      
      Hence flush_workqueue has been removed.
      Signed-off-by: NBhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Acked-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
      fd320bf6
  14. 22 6月, 2016 1 次提交