summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-07 11:25:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-07 13:37:41 +0100
commit5ad08be7e34fc6f3c6936ac40063ea839d4ce0d2 (patch)
tree82eddb09aba8346d0603a7f50c060b3231968296 /include/sound
parente92075ff7dc54305bd5709a758ffe825aef35e8f (diff)
drm/i915: Break up long runs of freeing objects
Before freeing the next batch of objects from the worker, check if the worker's timeslice has expired and if so, defer the next batch to the next invocation of the worker. Suggested-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170407102552.5781-3-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions