android_kernel_xiaomi_sm8350/drivers/infiniband/hw/ipath
Ingo Molnar 74019224ac timers: add mod_timer_pending()
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>
2009-02-18 19:26:33 +01:00
..
ipath_7220.h
ipath_common.h
ipath_cq.c RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ipath_debug.h
ipath_diag.c
ipath_dma.c
ipath_driver.c timers: add mod_timer_pending() 2009-02-18 19:26:33 +01:00
ipath_eeprom.c
ipath_file_ops.c cpumask: use new cpumask API in drivers/infiniband/hw/ipath 2008-12-30 09:05:18 +10:30
ipath_fs.c zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
ipath_iba6110.c
ipath_iba6120.c IB/ipath: Don't count IB symbol and link errors unless link is UP 2008-12-05 11:13:19 -08:00
ipath_iba7220.c IB/ipath: Only do 1X workaround on rev1 chips 2008-12-05 11:13:19 -08:00
ipath_init_chip.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_intr.c IB/ipath: Fix printk format warnings 2008-08-04 11:12:18 -07:00
ipath_kernel.h IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_keys.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_mad.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_mmap.c
ipath_mr.c
ipath_qp.c IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_rc.c IB/ipath: Fix PSN of send WQEs after an RDMA read resend 2008-12-05 11:13:18 -08:00
ipath_registers.h
ipath_ruc.c IB/ipath: Fix RDMA write with immediate copy of last packet 2008-10-27 15:31:25 -07:00
ipath_sd7220_img.c
ipath_sd7220.c
ipath_sdma.c IB/ipath: Check return value of dma_map_single() 2008-12-05 11:13:18 -08:00
ipath_srq.c
ipath_stats.c IB/ipath: Don't count IB symbol and link errors unless link is UP 2008-12-05 11:13:19 -08:00
ipath_sysfs.c
ipath_uc.c RDMA/core: Add memory management extensions support 2008-07-14 23:48:45 -07:00
ipath_ud.c IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_user_pages.c
ipath_user_sdma.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
ipath_user_sdma.h IB/ipath: Fix many locking issues when switching to error state 2008-05-13 11:41:29 -07:00
ipath_verbs_mcast.c rcu: split list.h and move rcu-protected lists into rculist.h 2008-05-19 10:01:37 +02:00
ipath_verbs.c IB/ipath: Add locking for interrupt use of ipath_pd contexts vs free 2008-12-05 11:14:38 -08:00
ipath_verbs.h IB/ipath: Improve UD loopback performance by allocating temp array only once 2008-12-01 20:59:08 -08:00
ipath_wc_ppc64.c
ipath_wc_x86_64.c
Kconfig
Makefile