lkml.org 
[lkml]   [2013]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectposix-timers: Various cleanups
Date
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.motohiro@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(-)


\
 
 \ /
  Last update: 2013-10-12 21:21    [W:0.064 / U:1.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site