1. 27 Mar, 2006 2 commits
  2. 24 Mar, 2006 3 commits
    • Simon Marlow's avatar
      fix a warning · a1b4e3b8
      Simon Marlow authored
    • Simon Marlow's avatar
      Add some more flexibility to the multiproc scheduler · 4368121d
      Simon Marlow authored
      There are two new options in the -threaded RTS:
        -qm       Don't automatically migrate threads between CPUs
        -qw       Migrate a thread to the current CPU when it is woken up
      previously both of these were effectively off, i.e. threads were
      migrated between CPUs willy-milly, and threads were always migrated to
      the current CPU when woken up.  This is the first step in tweaking the
      scheduling for more effective work balancing, there will no doubt be
      more to come.
    • duncan.coutts@worc.ox.ac.uk's avatar
      mkDerivedConstants.c depends on ghcplatform.h · 354cefe7
      duncan.coutts@worc.ox.ac.uk authored
      I think this missing dep is what broke my parallel build
      I used make -j2 with ghc- and got:
      ==fptools== make boot -wr --jobserver-fds=3,11 -j;
      in /var/tmp/portage/ghc-6.4.2_pre20060323/work/ghc-
      Creating ghcplatform.h...
      gcc -O -O2 -march=k8 -pipe -Wa,--noexecstack    -c mkDerivedConstants.c -o mkDerivedConstants.o
      In file included from ghcconfig.h:5,
                       from Stg.h:42,
                       from Rts.h:19,
                       from mkDerivedConstants.c:20:
      ghcplatform.h:1:1: unterminated #ifndef
      With this patch applied I can no longer repoduce this build bug.
      So I think this patch should be applied to the cvs ghc-6-4-branch too.
  3. 27 Mar, 2006 2 commits
  4. 25 Mar, 2006 1 commit
  5. 24 Mar, 2006 3 commits
  6. 23 Mar, 2006 1 commit
    • Simon Marlow's avatar
      gcc is getting smarter, so we need to hit it with a bigger stick · 7aede9b1
      Simon Marlow authored
      On x86_64 we are using C argument registers for global registers in
      the STG machine.  This is always going to be problematic when it comes
      to making C calls from STG and compiling via C.  Prior to GCC 4.1.0
      (approx) it was possible to just assign the argument expressions to
      temporaries to avoid a clash.  Now, we need to add an extra dummy
      function call as a barrier between the temporary assignments and the
      actual call.  The dummy call is removed by the mangler.
  7. 18 Mar, 2006 3 commits
  8. 22 Mar, 2006 2 commits
  9. 21 Mar, 2006 4 commits
  10. 20 Mar, 2006 2 commits
  11. 18 Mar, 2006 3 commits
  12. 12 Mar, 2006 1 commit
  13. 17 Mar, 2006 3 commits
  14. 16 Mar, 2006 5 commits
  15. 02 Mar, 2006 1 commit
  16. 16 Mar, 2006 2 commits
  17. 15 Mar, 2006 1 commit
    • Simon Marlow's avatar
      Improvements to shutting down of the runtime · 5638488b
      Simon Marlow authored
      Yet another attempt at shutdown & interruption.  This one appears to
      work better; ^C is more responsive in multi threaded / SMP, and I
      fixed one case where the runtime wasn't responding to ^C at all.
  18. 14 Mar, 2006 1 commit