74019224ac
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: Stephen 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: Ingo Molnar <mingo@elte.hu> |
||
---|---|---|
.. | ||
ipath_7220.h | ||
ipath_common.h | ||
ipath_cq.c | ||
ipath_debug.h | ||
ipath_diag.c | ||
ipath_dma.c | ||
ipath_driver.c | ||
ipath_eeprom.c | ||
ipath_file_ops.c | ||
ipath_fs.c | ||
ipath_iba6110.c | ||
ipath_iba6120.c | ||
ipath_iba7220.c | ||
ipath_init_chip.c | ||
ipath_intr.c | ||
ipath_kernel.h | ||
ipath_keys.c | ||
ipath_mad.c | ||
ipath_mmap.c | ||
ipath_mr.c | ||
ipath_qp.c | ||
ipath_rc.c | ||
ipath_registers.h | ||
ipath_ruc.c | ||
ipath_sd7220_img.c | ||
ipath_sd7220.c | ||
ipath_sdma.c | ||
ipath_srq.c | ||
ipath_stats.c | ||
ipath_sysfs.c | ||
ipath_uc.c | ||
ipath_ud.c | ||
ipath_user_pages.c | ||
ipath_user_sdma.c | ||
ipath_user_sdma.h | ||
ipath_verbs_mcast.c | ||
ipath_verbs.c | ||
ipath_verbs.h | ||
ipath_wc_ppc64.c | ||
ipath_wc_x86_64.c | ||
Kconfig | ||
Makefile |