All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: better timer interface
@ 2017-05-16 11:48 Christoph Hellwig
  2017-05-16 11:48 ` [PATCH 1/9] timers: remove the fn and data arguments to call_timer_fn Christoph Hellwig
                   ` (9 more replies)
  0 siblings, 10 replies; 42+ messages in thread
From: Christoph Hellwig @ 2017-05-16 11:48 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Mark Gross, Tejun Heo, linuxppc-dev, linux-s390, linux-kernel

Hi all,

this series attempts to provide a "modern" timer interface where the
callback gets the timer_list structure as an argument so that it
can use container_of instead of having to cast to/from unsigned long
all the time (or even worse use function pointer casts, we have quite
a few of those as well).

For that it steals another bit from the cpu mask to add a modern flag,
and if that flag is set the different new function prototype is used.
Last but least new helpers to initialize these modern timers are added.
Instead of having a larger number of initialization macros we simply
pass the timer flags to them.

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2017-05-23 13:02 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16 11:48 RFC: better timer interface Christoph Hellwig
2017-05-16 11:48 ` [PATCH 1/9] timers: remove the fn and data arguments to call_timer_fn Christoph Hellwig
2017-05-16 11:48 ` [PATCH 2/9] timers: provide a "modern" variant of timers Christoph Hellwig
2017-05-16 19:29   ` Randy Dunlap
2017-05-16 20:03   ` Arnd Bergmann
2017-05-18  8:24     ` Christoph Hellwig
2017-05-18  8:41       ` Christoph Hellwig
2017-05-18  8:57         ` Arnd Bergmann
2017-05-21  7:00           ` Christoph Hellwig
2017-05-21 12:29             ` Arnd Bergmann
2017-05-21 17:57         ` Thomas Gleixner
2017-05-21 18:23           ` Al Viro
2017-05-19 10:48   ` David Laight
2017-05-21  6:57     ` 'Christoph Hellwig'
2017-05-16 11:48 ` [PATCH 3/9] kthread: remove unused macros Christoph Hellwig
2017-05-17 12:09   ` Petr Mladek
2017-05-17 12:09     ` Petr Mladek
2017-05-18  8:22     ` Christoph Hellwig
2017-05-16 11:48 ` [PATCH 4/9] workqueue: switch to modern timers Christoph Hellwig
2017-05-16 11:48 ` [PATCH 5/9] powerpc/numa: switch topology_timer to modern timer Christoph Hellwig
2017-05-16 11:48 ` [PATCH 6/9] s390: switch topology_timer to a " Christoph Hellwig
2017-05-16 11:48 ` [PATCH 7/9] s390: switch lgr timer " Christoph Hellwig
2017-05-16 11:48 ` [PATCH 8/9] tlclk: switch switchover_timer " Christoph Hellwig
2017-05-16 11:48 ` [PATCH 9/9] timers: remove old timer initialization macros Christoph Hellwig
2017-05-16 19:43   ` Arnd Bergmann
2017-05-18  8:25     ` Christoph Hellwig
2017-05-16 15:45 ` RFC: better timer interface Arnd Bergmann
2017-05-16 15:51   ` Christoph Hellwig
2017-05-16 20:26     ` Arnd Bergmann
2017-05-18  8:27       ` Christoph Hellwig
2017-05-21 17:13       ` Thomas Gleixner
2017-05-21 18:14         ` Thomas Gleixner
2017-05-22 11:26           ` Arnd Bergmann
2017-05-22 19:24             ` Thomas Gleixner
2017-05-23 11:36           ` David Laight
2017-05-23 11:36             ` David Laight
2017-05-23 11:58             ` Thomas Gleixner
2017-05-23 12:51               ` David Laight
2017-05-23 12:51                 ` David Laight
2017-05-23 13:02                 ` Thomas Gleixner
2017-05-22 13:32         ` Arnd Bergmann
2017-05-22 19:14           ` Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.