Received: by 10.213.65.68 with SMTP id h4csp3842258imn; Tue, 3 Apr 2018 11:34:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/n1hAmM7JvwFUq/eKa9qdEobrlczb2/tksCHnACAP9NrHZP54lCenRMiDgk+GDs0T1Fb36 X-Received: by 10.98.58.129 with SMTP id v1mr11417249pfj.231.1522780449828; Tue, 03 Apr 2018 11:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522780449; cv=none; d=google.com; s=arc-20160816; b=owWRpTMjV5K+DWakTYCJ3yziXCid1oLuy45lWUHaNwD1euhPPtQD1tZQR72dJYZZWl VfkS8I0BgM4tZAWh3onGHMoLjx8RMfYxY6j/R/NKruaOOj+1EhbRaI1CmwnkrXuBIIIJ 3Beb5Dpi5/5pPZZg1UBZn8UCMH76s/whS8DBP/L6eAp3gLSIqlGyZd3YPHUdm2j00c3W 9vuxzEp3LHOxa6rle+pNjyqaZhxXjwpWcBjfCGU6X52cJ+Dsibuqb/1y3rNSvc+D0SQK oVFvlEOIXmnCO9TIIrvZgt8+UefMHG28SLI0Y4VCO4dqijZ8EW3GO2MI3u2+tsi4bGxG 00lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=5HqvUlW1Bk1xcmnCBaKR58MDpbjQaUHm8Bc/FnMXT7s=; b=XmHPI+ZDjqxMnuRWKzeuDAMLFqM8lXBpObXequn2U08Rj4G51ZdLJtaDCWByFHAoip f+X7PzUSQ6xCqJtKpQQOl55kiffTlXo0Xdio7IYz6m+rnMhLMYnecf7ofzNSg7ygpSBY LtOIhMGWXXyfdBWf3UOQ6ClsM/FzKWa8Ihc/QPz0aWbs7c52HVQLiuvfokS7fegv26db Aqdxpd4yzMib4frt2R6xD5JpovxygoKnCvta/mfvbKStQK82Y4VJgl6DN2LW0g1V5cIK fZXOB5l0RfS0INFLHR7tWVykZC3WGaXFLrPgGSl4+jSiwD5uX6lmerKhL3QtLkBqr3bN v7ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si2311493pgd.793.2018.04.03.11.33.54; Tue, 03 Apr 2018 11:34:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752935AbeDCSco (ORCPT + 99 others); Tue, 3 Apr 2018 14:32:44 -0400 Received: from mail.monom.org ([188.138.9.77]:45236 "EHLO mail.monom.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752525AbeDCScn (ORCPT ); Tue, 3 Apr 2018 14:32:43 -0400 Received: from mail.monom.org (localhost [127.0.0.1]) by filter.mynetwork.local (Postfix) with ESMTP id 2753E500B18; Tue, 3 Apr 2018 20:32:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.monom.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Received: from helium.monom.org (ppp-93-104-185-33.dynamic.mnet-online.de [93.104.185.33]) by mail.monom.org (Postfix) with ESMTPSA id 2D5AD500A56; Tue, 3 Apr 2018 20:32:39 +0200 (CEST) Subject: Re: [PATCH RT 1/3] alarmtimer: Prevent live lock in alarm_cancel() To: Sebastian Andrzej Siewior Cc: linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Steven Rostedt , stable-rt@vger.kernel.org References: <20180328100746.18668-1-bigeasy@linutronix.de> From: Daniel Wagner Message-ID: Date: Tue, 3 Apr 2018 20:32:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180328100746.18668-1-bigeasy@linutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On 03/28/2018 12:07 PM, Sebastian Andrzej Siewior wrote: > If alarm_try_to_cancel() requires a retry, then depending on the > priority setting the retry loop might prevent timer callback completion > on RT. Prevent that by waiting for completion on RT, no change for a > non RT kernel. > > Cc: stable-rt@vger.kernel.org How relevant is this serie for trees before eae1c4ae275f ("posix-timers: Make use of cancel/arm callbacks")? Patch #2 seems to depend on that change which was added in v4.12. Thanks, Daniel