1. 12 5月, 2011 1 次提交
  2. 05 5月, 2011 2 次提交
  3. 04 5月, 2011 2 次提交
  4. 29 4月, 2011 2 次提交
  5. 28 4月, 2011 5 次提交
  6. 27 4月, 2011 1 次提交
    • J
      Input: evdev - only signal polls on full packets · cdda911c
      Jeff Brown 提交于
      This patch modifies evdev so that it only becomes readable when
      the buffer contains an EV_SYN/SYN_REPORT event.
      
      On SMP systems, it is possible for an evdev client blocked on poll()
      to wake up and read events from the evdev ring buffer at the same
      rate as they are enqueued.  This can result in high CPU usage,
      particularly for MT devices, because the client ends up reading
      events one at a time instead of reading complete packets.
      
      We eliminate this problem by making the device readable only when
      the buffer contains at least one complete packet.  This causes
      clients to block until the entire packet is available.
      Signed-off-by: NJeff Brown <jeffbrown@android.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      cdda911c
  7. 23 4月, 2011 1 次提交
  8. 19 4月, 2011 10 次提交
  9. 18 4月, 2011 16 次提交