Re: [PATCH 3/3] posix timers: use SIGQUEUE_CANCELLED when the timer is destroyed

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Austin Clements <amdragon+kernelbugzilla@...>, Ingo Molnar <mingo@...>, john stultz <johnstul@...>, Linus Torvalds <torvalds@...>, Michael Kerrisk <mtk.manpages@...>, Roland McGrath <roland@...>, Thomas Gleixner <tglx@...>, <linux-kernel@...>
Date: Saturday, May 17, 2008 - 11:31 am

On 05/17, Oleg Nesterov wrote:

If this change is undesirable, we can (for example) do

	--- kernel/posix-timers.c
	+++ kernel/posix-timers.c
	@@ -885,6 +885,7 @@ itimer_delete(struct k_itimer *timer)
		timer->it_process = NULL;
	 
		unlock_timer(timer, flags);
	+	tmr->sigq->flags |= SIGQUEUE_CANCELLED;
		release_posix_timer(timer, IT_ID_SET);
	 }

instead, and still fix the "BUG 10460".

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3] posix timers: use SIGQUEUE_CANCELLED when th..., Oleg Nesterov, (Sat May 17, 11:31 am)