GitHub PushEvent at 2014-08-31 01:47:19
Repository: mac_kernel_lge_hammerhead
Actor: MikeC84
Payload: {"shas":[["8b7165b34fd5a9bf9e5dbb519e6ecf4d4243fda4","6a4cf9207bb95b1a4cf1be22c2e93f8b38036f65@google.com","rwsem: more agressive lock stealing in rwsem_down_write_failed\n\nSome small code simplifications can be achieved by doing more agressive\nlock stealing:\n\n- When rwsem_down_write_failed() notices that there are no active locks\n  (and thus no thread to wake us if we decided to sleep), it used to wake\n  the first queued process. However, stealing the lock is also sufficient\n  to deal with this case, so we don't need this check anymore.\n\n- In try_get_writer_sem(), we can steal the lock even when the first waiter\n  is a reader. This is correct because the code path that wakes readers is\n  protected by the wait_lock. As to the performance effects of this change,\n  they are expected to be minimal: readers are still granted the lock\n  (rather than having to acquire it themselves) when they reach the front\n  of the wait queue, so we have essentially the same behavior as in\n  rwsem-spinlock.\n\nSigned-off-by: Michel Lespinasse <walken@google.com>\nReviewed-by: Rik van Riel <riel@redhat.com>\nReviewed-by: Peter Hurley <peter@hurleysoftware.com>\nAcked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Michel Lespinasse",true]],"size":1,"ref":"refs/heads/android-msm-hammerhead-3.4-kitkat-mr2","head":"8b7165b34fd5a9bf9e5dbb519e6ecf4d4243fda4"}