* [withdrawn] posix-cpu-timers-initialize-new_itimer-itcpufiring.patch removed from -mm tree
@ 2009-10-06 22:02 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-10-06 22:02 UTC (permalink / raw)
To: sgruszka, a.p.zijlstra, mingo, oleg, tglx, mm-commits
The patch titled
posix-cpu-timers: initialize new_itimer->it.cpu.firing
has been removed from the -mm tree. Its filename was
posix-cpu-timers-initialize-new_itimer-itcpufiring.patch
This patch was dropped because it was withdrawn
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: posix-cpu-timers: initialize new_itimer->it.cpu.firing
From: Stanislaw Gruszka <sgruszka@redhat.com>
In case when posix_cpu_timer_create() is called from sys_timer_create()
it.cpu.firing field of struct k_itimer is uninitialized.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/posix-cpu-timers.c | 1 +
1 file changed, 1 insertion(+)
diff -puN kernel/posix-cpu-timers.c~posix-cpu-timers-initialize-new_itimer-itcpufiring kernel/posix-cpu-timers.c
--- a/kernel/posix-cpu-timers.c~posix-cpu-timers-initialize-new_itimer-itcpufiring
+++ a/kernel/posix-cpu-timers.c
@@ -398,6 +398,7 @@ int posix_cpu_timer_create(struct k_itim
INIT_LIST_HEAD(&new_timer->it.cpu.entry);
new_timer->it.cpu.incr.sched = 0;
new_timer->it.cpu.expires.sched = 0;
+ new_timer->it.cpu.firing = 0;
read_lock(&tasklist_lock);
if (CPUCLOCK_PERTHREAD(new_timer->it_clock)) {
_
Patches currently in -mm which might be from sgruszka@redhat.com are
itimers-fix-racy-writes-to-cpu_itimer-fields.patch
posix-cpu-timers-initialize-new_itimer-itcpufiring.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-06 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 22:02 [withdrawn] posix-cpu-timers-initialize-new_itimer-itcpufiring.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).