Skip to content
Snippets Groups Projects
  1. Oct 10, 2012
  2. Sep 22, 2012
  3. Sep 21, 2012
  4. Sep 15, 2012
    • Ben Noordhuis's avatar
      linux: improve /proc/cpuinfo parser · 9a483811
      Ben Noordhuis authored
      Make uv_cpu_info() understand the ARM and MIPS versions of /proc/cpuinfo,
      it only knew how to deal with the x86 version
      
      This commit also fixes a buglet where uv_cpu_info() reported the maximum CPU
      frequency instead of the actual CPU frequency. That is, before this commit
      `out/Debug/run-tests platform_output | grep speed | sort | uniq -c` on my
      system always reported:
      
            8   speed: 3400
      
      Now it reports (for example):
      
            2   speed: 3400
            6   speed: 1600
      
      In other words, two CPUs are running at full speed while the others have been
      scaled back because they're mostly idle.
      
      This is a back-port of commit 54bfb668 from the master branch.
      
      Fixes #526.
      9a483811
  5. Sep 14, 2012
  6. Sep 11, 2012
  7. Sep 10, 2012
  8. Sep 03, 2012
  9. Aug 30, 2012
  10. Aug 25, 2012
    • Ben Noordhuis's avatar
      unix: fix memory leak in udp.c · ad7b48ae
      Ben Noordhuis authored
      Some memory was leaked when the uv_udp_t handle was closed when there were
      in-flight send requests with a heap allocated buffer list.
      
      That doesn't happen much in practice. In the common case (writing < 5 buffers),
      the buffer list is stored inside the uv_udp_send_t structure, not allocated on
      the heap.
      ad7b48ae
  11. Aug 22, 2012
  12. Aug 20, 2012
  13. Aug 18, 2012
  14. Aug 16, 2012
  15. Aug 15, 2012
  16. Aug 13, 2012
  17. Aug 08, 2012
  18. Aug 03, 2012
  19. Jul 31, 2012
  20. Jul 30, 2012
  21. Jul 28, 2012
    • Ben Noordhuis's avatar
      linux: fix 'two watchers, one path' segfault · 4fe19169
      Ben Noordhuis authored
      Problem: registering two uv_fs_event_t watchers for the same path, then closing
      them, caused a segmentation fault. While active, the watchers didn't work right
      either, only one would receive events.
      
      Cause: each watcher has a wd (watch descriptor) that's used as its key in a
      binary tree. When you call inotify_watch_add() twice with the same path, the
      second call doesn't return a new wd - it returns the existing one. That in turn
      resulted in the first handle getting ousted from the binary tree, leaving
      dangling pointers.
      
      This commit addresses that by storing the watchers in a queue and storing the
      queue in the binary tree instead of storing the watchers directly in the tree.
      
      Fixes joyent/node#3789.
      4fe19169
    • Ben Noordhuis's avatar
      test: add uv_loop_t to benchmark-sizes.c · ec76a425
      Ben Noordhuis authored
      ec76a425
    • Ben Noordhuis's avatar
      4fe369b1
    • Ben Noordhuis's avatar
      test: add failing fs_event test · b5b8ead8
      Ben Noordhuis authored
      Watches the same file twice. Fails on Linux with a segmentation fault.
      b5b8ead8
Loading