[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170516114812.10660-1-hch@lst.de>
Date: Tue, 16 May 2017 13:48:03 +0200
From: Christoph Hellwig <hch@....de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Mark Gross <mark.gross@...el.com>, Tejun Heo <tj@...nel.org>,
linuxppc-dev@...ts.ozlabs.org, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: RFC: better timer interface
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.
Powered by blists - more mailing lists