[Bug 80578] [All Regression]igt/gem_fence_upload/thread-contention costs long time to execute sporadically

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 11 12:23:22 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80578

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|bisect_pending              |

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
Fwiw, the proposed fix on lkml is:

diff --git a/kernel/locking/rwsem-xadd.c b/kernel/locking/rwsem-xadd.c
index dacc32142fcc..a417733ea9f4 100644
--- a/kernel/locking/rwsem-xadd.c
+++ b/kernel/locking/rwsem-xadd.c
@@ -285,7 +285,7 @@ static inline bool rwsem_try_write_lock_unqueued(struct
rw_semaphore *sem)
 static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem)
 {
        struct task_struct *owner;
-       bool on_cpu = true;
+       bool on_cpu = false;

        if (need_resched())
                return 0;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140711/e142fd8e/attachment.html>


More information about the intel-gfx-bugs mailing list