mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* posix-timers: Various cleanups
@ 2013-10-12 19:06 Frederic Weisbecker
  2013-10-12 19:06 ` [RFC PATCH 01/10] posix-timers: Remove dead thread posix cpu timers caching Frederic Weisbecker
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Frederic Weisbecker @ 2013-10-12 19:06 UTC (permalink / raw)
  To: LKML
  Cc: Frederic Weisbecker, Thomas Gleixner, Ingo Molnar,
	Peter Zijlstra, Oleg Nesterov, Kosaki Motohiro, Andrew Morton

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(-)

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

end of thread, other threads:[~2013-10-12 19:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-12 19:06 posix-timers: Various cleanups Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 01/10] posix-timers: Remove dead thread posix cpu timers caching Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 02/10] posix-timers: Remove dead process " Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 03/10] posix-timers: Cleanup reaped target handling Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 04/10] posix-timers: Remove dead task special case Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 05/10] posix-timers: Remove useless clock sample on timers cleanup Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 06/10] posix-timers: Consolidate posix_cpu_clock_get() Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 07/10] posix-timers: Use sighand lock instead of tasklist_lock for task clock sample Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 08/10] posix-timers: Use sighand lock instead of tasklist_lock on timer deletion Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 09/10] posix-timers: Remove remaining uses of tasklist_lock Frederic Weisbecker
2013-10-12 19:06 ` [RFC PATCH 10/10] posix-timers: Convert abuses of BUG_ON to WARN_ON Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®