From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 24 Mar 2014 07:22:07 +0100 From: Heiko Carstens Subject: Re: [patch 01/16] s390: tape: Use del_timer_sync() Message-ID: <20140324062207.GB4487@osiris> References: <20140323150557.288925975@linutronix.de> <20140323150752.607059123@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140323150752.607059123@linutronix.de> Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Thomas Gleixner Cc: LKML , Julia Lawall , Andrew Morton , Martin Schwidefsky , s390 List-ID: On Sun, Mar 23, 2014 at 03:09:24PM -0000, Thomas Gleixner wrote: > del_timer() does not wait for a possible running callback to > complete. So the call side might free request and the associated > objects while on another cpu the timer handler runs. [...] > > - del_timer(&timeout); > + del_timer_sync(&timeout); Applied, thanks.