From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753023AbbFHPKO (ORCPT ); Mon, 8 Jun 2015 11:10:14 -0400 Received: from casper.infradead.org ([85.118.1.10]:43593 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752672AbbFHPKM (ORCPT ); Mon, 8 Jun 2015 11:10:12 -0400 Date: Mon, 8 Jun 2015 17:10:04 +0200 From: Peter Zijlstra To: Oleg Nesterov Cc: umgwanakikbuti@gmail.com, mingo@elte.hu, ktkhai@parallels.com, rostedt@goodmis.org, tglx@linutronix.de, juri.lelli@gmail.com, pang.xunlei@linaro.org, wanpeng.li@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the timer Message-ID: <20150608151004.GM3644@twins.programming.kicks-ass.net> References: <20150605084836.364306429@infradead.org> <20150605085205.723058588@infradead.org> <20150607223317.GA5193@redhat.com> <20150608091417.GM19282@twins.programming.kicks-ass.net> <20150608124234.GW18673@twins.programming.kicks-ass.net> <20150608142749.GB13168@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150608142749.GB13168@redhat.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 08, 2015 at 04:27:49PM +0200, Oleg Nesterov wrote: > - we need to fix migrate_hrtimer_list() and __hrtimer_start_range_ns() > to preserve ENQUEUED. This fixes the races with hrtimer_is_queued() > and hrtimer_active() we currently have. So I have your patch and the one I just send out; together they should do this. Can I add your SoB to your patch?