]> Pileus Git - ~andy/linux/commit
posix-timers: Cleanup reaped target handling
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 10 Oct 2013 22:27:19 +0000 (00:27 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 9 Dec 2013 15:53:50 +0000 (16:53 +0100)
commite26d70d271ee1a68a925796b411cb0239394c7a1
tree128a1600c93b2c5e9be2e2358feec1cf27170f90
parentd430b9173a9a50a83e10d1c70baead3e625b522f
posix-timers: Cleanup reaped target handling

When a timer's target is seen to be buried, for example on calls
to timer_gettime(), the posix cpu timers code behaves a bit
like a garbage collector and releases early the reference to the
task.

Then again, this optimization complicates the code for no much
value: it's up to the user to release the timer and its associated
ressources by calling timer_delete() after it buries the target
tasks.

Remove this to simplify the code.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kosaki Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c