So this is a first take to cleanup the posix cpu timers code. It removes some optimizations that don't seem very worth the code complications to me, and also bring some locking cleanup (remove use of tasklist_lock), etc..
It has been only lightly tested for now (just ran though the posix timers selftests in tools/testing/selftests). And there is still some work to do, I need to integrate the fixes proposed by Kosaki: https://lkml.kernel.org/r/1369604149-13016-1-git-send-email-kosaki.motoh...@gmail.com and there is some more chunks to sanitize. But anyway that's a first step. And I would like to also make sure that people are fine with the optimizations I'm removing. So here is it. Thanks. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/posix-timers-rfc Thanks, Frederic --- Frederic Weisbecker (10): posix-timers: Remove dead thread posix cpu timers caching posix-timers: Remove dead process posix cpu timers caching posix-timers: Cleanup reaped target handling posix-timers: Remove dead task special case posix-timers: Remove useless clock sample on timers cleanup posix-timers: Consolidate posix_cpu_clock_get() posix-timers: Use sighand lock instead of tasklist_lock for task clock sample posix-timers: Use sighand lock instead of tasklist_lock on timer deletion posix-timers: Remove remaining uses of tasklist_lock posix-timers: Convert abuses of BUG_ON to WARN_ON kernel/posix-cpu-timers.c | 307 +++++++++++++++++++--------------------------- 1 file changed, 127 insertions(+), 180 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/