1. 30 Mar, 2015 1 commit
  2. 11 Mar, 2015 1 commit
  3. 24 Feb, 2015 1 commit
  4. 10 Feb, 2015 1 commit
  5. 02 Feb, 2015 1 commit
  6. 15 Jan, 2015 1 commit
  7. 19 Dec, 2014 1 commit
  8. 01 Dec, 2014 1 commit
  9. 14 Nov, 2014 1 commit
  10. 30 Oct, 2014 1 commit
  11. 15 Oct, 2014 1 commit
  12. 09 Oct, 2014 1 commit
  13. 05 Oct, 2014 1 commit
  14. 17 Sep, 2014 1 commit
  15. 05 Sep, 2014 1 commit
  16. 14 Aug, 2014 1 commit
  17. 03 Aug, 2014 1 commit
  18. 27 Jul, 2014 1 commit
  19. 26 Jul, 2014 1 commit
    • Linus Torvalds's avatar
      Fix gcc-4.9.0 miscompilation of load_balance() in scheduler · 2062afb4
      Linus Torvalds authored
      Michel Dänzer and a couple of other people reported inexplicable random
      oopses in the scheduler, and the cause turns out to be gcc mis-compiling
      the load_balance() function when debugging is enabled.  The gcc bug
      apparently goes back to gcc-4.5, but slight optimization changes means
      that it now showed up as a problem in 4.9.0 and 4.9.1.
      
      The instruction scheduling problem causes gcc to schedule a spill
      operation to before the stack frame has been created, which in turn can
      corrupt the spilled value if an interrupt comes in.  There may be other
      effects of this bug too, but that's the code generation problem seen in
      Michel's case.
      
      This is fixed in current gcc HEAD, but the workaround as suggested by
      Markus Trippelsdorf is pretty simple: use -fno-var-tracking-assignments
      when compiling the kernel, which disables the gcc code that causes the
      problem.  This can result in slightly worse debug information for
      variable accesses, but that is infinitely preferable to actual code
      generation problems.
      
      Doing this unconditionally (not just for CONFIG_DEBUG_INFO) also allows
      non-debug builds to verify that the debug build would be identical: we
      can do
      
          export GCC_COMPARE_DEBUG=1
      
      to make gcc internally verify that the result of the build is
      independent of the "-g" flag (it will make the compiler build everything
      twice, toggling the debug flag, and compare the results).
      
      Without the "-fno-var-tracking-assignments" option, the build would fail
      (even with 4.8.3 that didn't show the actual stack frame bug) with a gcc
      compare failure.
      
      See also gcc bugzilla:
      
        https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801
      
      Reported-by: default avatarMichel Dänzer <michel@daenzer.net>
      Suggested-by: default avatarMarkus Trippelsdorf <markus@trippelsdorf.de>
      Cc: Jakub Jelinek <jakub@redhat.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2062afb4
  20. 21 Jul, 2014 1 commit
  21. 13 Jul, 2014 1 commit
  22. 06 Jul, 2014 1 commit
  23. 04 Jul, 2014 2 commits
    • Michal Marek's avatar
      kbuild: Fix packaging targets with relative $(srctree) · c79624c1
      Michal Marek authored
      All other users of Makefile.build set $(obj) to the name of the
      subdirectory to build. Do the same for the packaging targets, otherwise
      the build fails if $(srctree) is a relative directory:
      
          $ make O=build tar-pkg
          make[1]: Entering directory `/home/mmarek/linux-2.6/build'
            CHK     include/config/kernel.release
          ../scripts/Makefile.build:44: ../../scripts/package/Makefile: No such file or directory
          make[2]: *** No rule to make target `../../scripts/package/Makefile'.  Stop.
      
      Fixes: 9da0763b
      
       ("kbuild: Use relative path when building in a subdir of the source tree")
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      c79624c1
    • Michal Marek's avatar
      kbuild: Do not print the build directory with make -s · 066b7ed9
      Michal Marek authored
      Commit c2e28dc9
      
       (kbuild: Print the name of the build directory) prints
      the name of the build directory for O= builds, but we should not be
      doing this in make -s mode, so that commands like
      
        make -s O=<dir> kernelrelease
      
      can be used by scripts. This matches the behavior of make itself, where
      the -s option implies --no-print-directory.
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      066b7ed9
  24. 03 Jul, 2014 1 commit
  25. 29 Jun, 2014 1 commit
  26. 22 Jun, 2014 1 commit
  27. 16 Jun, 2014 1 commit
  28. 09 Jun, 2014 3 commits
  29. 08 Jun, 2014 1 commit
  30. 07 Jun, 2014 1 commit
  31. 02 Jun, 2014 1 commit
  32. 25 May, 2014 1 commit
  33. 21 May, 2014 1 commit
  34. 14 May, 2014 3 commits
  35. 09 May, 2014 1 commit