** Description changed:

  When a timeout of zero is specified, the caller is only interested in
  the fence status.
  
  In the current implementation, dma_fence_default_wait will always call
  schedule_timeout() at least once for an unsignaled fence. This adds a
  significant overhead to a fence status query.
  
  Avoid this overhead by returning early if a zero timeout is specified.
+ 
+ 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03c0c5f6641533f5fc14bf4e76d2304197402552

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1711096

Title:
  dma-buf: performance issue when looking up the fence status

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Zesty:
  In Progress

Bug description:
  When a timeout of zero is specified, the caller is only interested in
  the fence status.

  In the current implementation, dma_fence_default_wait will always call
  schedule_timeout() at least once for an unsignaled fence. This adds a
  significant overhead to a fence status query.

  Avoid this overhead by returning early if a zero timeout is specified.

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03c0c5f6641533f5fc14bf4e76d2304197402552

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711096/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to