diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-13 10:44:39 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-13 22:14:54 +0000 |
commit | 6b7133b6692513853ea813034f31568bdce7a85d (patch) | |
tree | 07ae0d1d6ebab24d5bd92e4b849b481be82bd44b /fs/jbd2/commit.c | |
parent | 5422d87d2cc38a5849175e3294967e7df3420b64 (diff) | |
download | linux-6b7133b6692513853ea813034f31568bdce7a85d.tar.gz linux-6b7133b6692513853ea813034f31568bdce7a85d.tar.bz2 linux-6b7133b6692513853ea813034f31568bdce7a85d.zip |
drm/i915/gt: Always reset the timeslice after a context switch
Currently, we reset the timer after a pre-eemption event. This has the
side-effect that the timeslice runs into the second context after the
first is completed after a normal promotion event, causing the second
context to be swapped out early and switched for a third context. To be
more fair, we want to reset the clock after promotion as well.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200113214546.1990139-1-chris@chris-wilson.co.uk
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions