1. 23 Apr, 2014 1 commit
  2. 04 Jun, 2012 2 commits
  3. 08 May, 2012 4 commits
  4. 24 Apr, 2012 1 commit
  5. 20 Apr, 2012 1 commit
  6. 15 Mar, 2012 1 commit
  7. 08 May, 2010 1 commit
  8. 07 May, 2010 1 commit
    • Brad Fitzpatrick's avatar
      More fixes to Binder perf regression from Eclair · e43c2483
      Brad Fitzpatrick authored
      Re-use the file descriptor to change the cgroups.  There's a fast path
      in the kernel for the case where the value's already uncahnged.  Also,
      this is okay because the kernel ignores the write offset.  This is
      essentially a ioctl-ish/datagram interface, despite being a fd we're
      writing to.
      
      This reduces Dalvik->Dalvik void/void Binder calls on Sapphire from
      ~1.2 to ~0.8 ms.  This is a bit slower than the ~0.7 ms we get
      avoiding the write altogether.
      
      strace confirms:
      
      [pid  1557] ioctl(21, 0xc0186201 <unfinished ...>
      [pid  1556] <... ioctl resumed> , 0x45399cd0) = 0
      [pid  1556] write(22, "1556", 4)        = 4
      [pid  1556] ioctl(21, 0xc0186201 <unfinished ...>
      [pid  1555] <... ioctl resumed> , 0x45299cd0) = 0
      [pid  1555] write(22, "1555", 4)        = 4
      [pid  1555] ioctl(21, 0xc0186201 <unfinished ...>
      [pid  1554] <... ioctl resumed> , 0x45199cd0) = 0
      [pid  1554] write(22, "1554", 4)        = 4
      
      BUG=2660235
      
      Change-Id: Ia9f9e1d5b792eaebc9560f89931faf6df0cf9c0d
      e43c2483
  9. 06 May, 2010 1 commit
    • Brad Fitzpatrick's avatar
      Optimize set_sched_policy(), which gets called in every binder call. · 253e27ac
      Brad Fitzpatrick authored
      - use static /dev/cpuctl filenames, rather than sprintf() on the fly
      - use a custom formatter instead of sprintf() for the tid number
      
      This is a simplified version of Dan's original
      Ifc9c81f74fe65f0695ead53b30194bc6adf00da0 to be less risky for Froyo.
      
      Bug: 2660235
      Change-Id: I744bbc2ec01fd2569612c814a497df40a933b622
      253e27ac
  10. 25 Mar, 2010 1 commit
  11. 03 Mar, 2010 1 commit
  12. 12 Jan, 2010 1 commit
  13. 03 Dec, 2009 1 commit
  14. 13 Nov, 2009 1 commit
  15. 29 Oct, 2009 2 commits
  16. 27 Oct, 2009 1 commit
  17. 16 Sep, 2009 1 commit
    • Raphael's avatar
      Disable sched_policy under Windows. · 0384a98d
      Raphael authored
      This introduces a new HAVE_SCHED_H arch define, which is used
      to prevent from building sched_policy.c during the Windows SDK.
      
      Change-Id: I3667857a4ae7d6baaf1efd1cd187a5baf91419d8
      0384a98d
  18. 14 Sep, 2009 1 commit
  19. 12 Sep, 2009 1 commit