1. 01 8月, 2007 5 次提交
  2. 31 7月, 2007 1 次提交
  3. 30 7月, 2007 3 次提交
  4. 29 7月, 2007 2 次提交
  5. 27 7月, 2007 2 次提交
  6. 26 7月, 2007 7 次提交
  7. 25 7月, 2007 1 次提交
  8. 23 7月, 2007 1 次提交
    • M
      x86: i386-show-unhandled-signals-v3 · abd4f750
      Masoud Asgharifard Sharbiani 提交于
      This patch makes the i386 behave the same way that x86_64 does when a
      segfault happens.  A line gets printed to the kernel log so that tools
      that need to check for failures can behave more uniformly between
      debug.show_unhandled_signals sysctl variable to 0 (or by doing echo 0 >
      /proc/sys/debug/exception-trace)
      
      Also, all of the lines being printed are now using printk_ratelimit() to
      deny the ability of DoS from a local user with a program like the
      following:
      
      main()
      {
             while (1)
                     if (!fork()) *(int *)0 = 0;
      }
      
      This new revision also includes the fix that Andrew did which got rid of
      new sysctl that was added to the system in earlier versions of this.
      Also, 'show-unhandled-signals' sysctl has been renamed back to the old
      'exception-trace' to avoid breakage of people's scripts.
      
      AK: Enabling by default for i386 will be likely controversal, but let's see what happens
      AK: Really folks, before complaining just fix your segfaults
      AK: I bet this will find a lot of silent issues
      Signed-off-by: NMasoud Sharbiani <masouds@google.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      [ Personally, I've found the complaints useful on x86-64, so I'm all for
        this. That said, I wonder if we could do it more prettily..   -Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      abd4f750
  9. 22 7月, 2007 12 次提交
  10. 21 7月, 2007 3 次提交
    • L
      Revert "sys_time() speedup" · 20082208
      Linus Torvalds 提交于
      This basically reverts commit 4e44f349,
      while waiting for it to be re-done more completely.  There are cases of
      people mixing "time()" with higher-resolution time sources, and we need
      to take the nanosecond offsets into account.
      
      Ingo has a patch that does that, but it's still under some discussion.
      In the meantime, just revert back to the old simple situation of just
      doing the whole exact timesource calculations.
      
      But rather than using do_gettimeofday(), use the internal nanosecond
      resolution getnstimeofday(), which at least avoids one unnecessary
      conversion (since we really don't care about whether the fractional
      seconds are nanoseconds or microseconds - we'll just throw them away).
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      20082208
    • D
      FRV: Fix linkage problems · 0b1937ac
      David Howells 提交于
      Make it possible to use __start_notes and __stop_notes without getting a GPREL
      overflow error from the FRV linker.
      
      Small variables that would otherwise be in .data or .bss may, depending on the
      arch, be placed in special sections (.sdata or .sbss) that permit single
      instruction references on fixed instruction width machines.
      
      __start_notes and __stop_notes aren't really char variables, and certainly
      don't refer to data in .data or .bss.  Making them type "void" fools the
      compiler into not assuming anything about them.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0b1937ac
    • B
      [IA64] remove time interpolator · 1f564ad6
      Bob Picco 提交于
      Remove time_interpolator code (This is generic code, but
      only user was ia64.  It has been superseded by the
      CONFIG_GENERIC_TIME code).
      Signed-off-by: NBob Picco <bob.picco@hp.com>
      Signed-off-by: NJohn Stultz <johnstul@us.ibm.com>
      Signed-off-by: NPeter Keilty <peter.keilty@hp.com>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      1f564ad6
  11. 20 7月, 2007 3 次提交