Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11966021ybi; Fri, 26 Jul 2019 02:35:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyr6+p3ynOOIrvg5ufSuuRHeA4WdM1aEfon9GPVUHtCzwvXRSDXl5ap2jcP8eh7gwk4scwE X-Received: by 2002:a17:902:8a87:: with SMTP id p7mr94949602plo.124.1564133701142; Fri, 26 Jul 2019 02:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564133701; cv=none; d=google.com; s=arc-20160816; b=rPhi0vlbvQDuI7XUDHL9EfFBSo1yDencNxgRrX8KJgU+uLzKlNLDnztdCcwvpuxrJI ku3QufAFKOH9lnmZNpgzJM/DjUoAZZZT+K/7BSfzTNlc/VW7nsqZUVIsJWWairIrF9OG 09cpasuZuRXi/wCAwW4T1NDka4INUVJsO2m0+L2t2x0ppeglxLyJAdmgmH++0cMnoWiA 5Q9iY3VgDpPzBGnR4QCx9iM7iZ4bwuh87hnFz3NkyXPhQ0WffFe6h8kvNyw7fqlthAj3 1S3X38B33teQT4V+2yAET473fC8K6/C/tnMEQsnYY4JpnNm6+vcB8Bk21UVwMYd7Xq9D 63/A== 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; bh=8tS6JuFAfIZMu38sYg+rOXvIu2rIXFxH6JrsUQCRzlY=; b=gGVGHdk0/mI3bAVf3eArsxMfSyKJ4TcWFIs4JVAfuv2URS32EA4oZPxaQPFql3RtoE VaF2yyLiK1+6FKnWpVtYXaeXLjStUhc/EVJ7Tfzl7oihVFU4ZAVWeP5GMas4n/YsjcYc SENrgoH2vHgw6+QhAtD8JZQ5KekyBScfwrRmvIW3UuppQj3DPBSNmnJlH4j7tg4+FU+Q geXUIUDqN3xVkhRGSoNaa8X/WzWakZphy61vAMk98WCIS5xG2HCui6SqGIirSVsPZyRG AAcpAw7FGQ3kyUoOO+sjtlWhgzcxqTSHm3M8Q50L/Ici/POkI4zDWGQY1/T2E7wNvkQa RkXQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 188si20844902pgd.404.2019.07.26.02.34.45; Fri, 26 Jul 2019 02:35:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbfGZJcw (ORCPT + 99 others); Fri, 26 Jul 2019 05:32:52 -0400 Received: from foss.arm.com ([217.140.110.172]:40232 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbfGZJcw (ORCPT ); Fri, 26 Jul 2019 05:32:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8CAA3344; Fri, 26 Jul 2019 02:32:51 -0700 (PDT) Received: from [10.1.194.37] (e113632-lin.cambridge.arm.com [10.1.194.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7B89D3F71A; Fri, 26 Jul 2019 02:32:50 -0700 (PDT) Subject: Re: [PATCH 4/5] sched/deadline: Cleanup on_dl_rq() handling To: Juri Lelli Cc: Dietmar Eggemann , Peter Zijlstra , Ingo Molnar , Luca Abeni , Daniel Bristot de Oliveira , Qais Yousef , linux-kernel@vger.kernel.org References: <20190726082756.5525-1-dietmar.eggemann@arm.com> <20190726082756.5525-5-dietmar.eggemann@arm.com> <0f460dba-4677-00de-59a2-5cd31ffe6e4b@arm.com> <20190726092005.GO25636@localhost.localdomain> From: Valentin Schneider Message-ID: Date: Fri, 26 Jul 2019 10:32:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190726092005.GO25636@localhost.localdomain> Content-Type: text/plain; charset=utf-8 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 On 26/07/2019 10:20, Juri Lelli wrote: >> Any idea why a similar error leads to a BUG_ON() in the enqueue path but >> only a silent return on the dequeue path? I would expect the handling to be >> almost identical. >> > > Task could have already been dequeued by update_curr_dl()->throttle > called by dequeue_task_dl() before calling __dequeue_task_dl(). > Got it, thanks. > Thanks, > > Juri >