Skip to content
Snippets Groups Projects
  1. Nov 05, 2010
  2. May 27, 2010
  3. May 21, 2010
  4. Mar 06, 2010
  5. Dec 16, 2009
  6. Sep 27, 2009
  7. Apr 02, 2009
  8. Feb 18, 2009
    • Ingo Molnar's avatar
      timers: add mod_timer_pending() · 74019224
      Ingo Molnar authored
      
      Impact: new timer API
      
      Based on an idea from Martin Josefsson with the help of
      Patrick McHardy and Stephen Hemminger:
      
      introduce the mod_timer_pending() API which is a mod_timer()
      offspring that is an invariant on already removed timers.
      
      (regular mod_timer() re-activates non-pending timers.)
      
      This is useful for the networking code in that it can
      allow unserialized mod_timer_pending() timer-forwarding
      calls, but a single del_timer*() will stop the timer
      from being reactivated again.
      
      Also while at it:
      
      - optimize the regular mod_timer() path some more, the
        timer-stat and a debug check was needlessly duplicated
        in __mod_timer().
      
      - make the exports come straight after the function, as
        most other exports in timer.c already did.
      
      - eliminate __mod_timer() as an external API, change the
        users to mod_timer().
      
      The regular mod_timer() code path is not impacted
      significantly, due to inlining optimizations and due to
      the simplifications.
      
      Based-on-patch-from: Stephen Hemminger <shemminger@vyatta.com>
      Acked-by: default avatarStephen Hemminger <shemminger@vyatta.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Cc: netdev@vger.kernel.org
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      74019224
  9. Jan 18, 2009
  10. Dec 29, 2008
    • Ingo Molnar's avatar
      relayfs: replace BUG() with WARN_ON() in relay_late_setup_files() · 7a51cffb
      Ingo Molnar authored
      
      Impact: turn boot crash into boot warning
      
      This BUG() can trigger:
      
      [   16.684131] initcall fail_page_alloc_debugfs+0x0/0xc1 returned 0 after 0 usecs
      [   16.692035] calling  kmemtrace_setup_late+0x0/0xd5 @ 1
      [   16.700087] relay_late_setup_files: CPU 1 has no buffer, it must have!
      [   16.704044] ------------[ cut here ]------------
      [   16.708030] kernel BUG at kernel/relay.c:680!
      [   16.708030] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
      [   16.708030] last sysfs file:
      [   16.708030]
      [   16.708030] Pid: 1, comm: swapper Not tainted (2.6.28-tip-03903-g9a39f58-dirty #13207) System Product Name
      [   16.708030] EIP: 0060:[<c01604ae>] EFLAGS: 00010246 CPU: 1
      [   16.708030] EIP is at relay_late_setup_files+0x8c/0x176
      
      Reduce it to a more reportable WARN_ONCE().
      
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      7a51cffb
  11. Dec 10, 2008
  12. Nov 18, 2008
  13. Aug 05, 2008
  14. Jul 26, 2008
  15. May 28, 2008
  16. May 08, 2008
  17. Apr 29, 2008
  18. Mar 26, 2008
  19. Mar 17, 2008
  20. Feb 06, 2008
  21. Feb 04, 2008
  22. Oct 18, 2007
  23. Jul 31, 2007
  24. Jul 19, 2007
  25. Jul 13, 2007
  26. Jul 10, 2007
  27. Jun 28, 2007
  28. May 09, 2007
  29. Mar 01, 2007
  30. Feb 11, 2007
Loading