Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3798323yba; Tue, 7 May 2019 07:16:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFzD4rY9NCmzJ8fLFaQjOzKJVuMJGn0jRjeGw9phx6PiELTuZB2ZuXlf2UjcYRhsHJldKx X-Received: by 2002:a17:902:e708:: with SMTP id co8mr9333030plb.141.1557238573735; Tue, 07 May 2019 07:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557238573; cv=none; d=google.com; s=arc-20160816; b=lg/nJTUrKJ9OMfvIXXUBOd/Aac6P2UebEdV3uOFmaK06X2WtwZMhQqwo9jOqrWfCdB ntwpIsEXPx7TVZr6M3sp4zLWTjbOZh9x+BJGevEjCpUuyOwaPHbQeXRIgKlWXMcimSHK ry9etLAUM0zhX/YVchK19t1vvQgIgO7+3uLCKZnd9hQPl2WK82L88nvRuAmDYoCLUmXL xrXxxE6Y0BIvPyQjBuMIj9UY8cpHcsTZtQXr3rznd5yD1xUq445LQ5bNNvmMbs5fteNE 8MnmK5ssC0LBkNTidbGGII46KH+GLZR0se64K41LIGOKaDJBqBcwsEBLL3YIfr2MFtYJ zUrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AgMCRwZtixK1q5Den9IOVnhVrqQdAydUBtDYRtr77AA=; b=MZK4zIEIpoK37Y5hvSW1GZAwKT2QYk6EUaB9q7E12bSAOqR4R8ZMzoDghTtgi8iV5v GPVIcToFtY9twFo+gjfhdS/TgfegT6eT4sC++tZAx3gOIiSeMMjs+249fici9XRkBXK3 Mm3IOuNXzZFLHRpCGMQIn8n8PHR9IMimCX0SNtndmo3FZ/yX0vQoqTTirhc+AdggQAaw ZhzLWApLRMZjsLTRw2htE3PloXQQ11wiyqWLCwLxpYXQYHHhZ4l1Z+bWJUOWw4QsUF+q HnBQPltahBHl4Sxlr+LBOgWFR/2B/B4H3XNUBT0lUkBjZ7074zz97Nidxlt0UhIrfz2+ G9fQ== 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 p5si7420213pls.431.2019.05.07.07.15.57; Tue, 07 May 2019 07:16:13 -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 S1726769AbfEGONp (ORCPT + 99 others); Tue, 7 May 2019 10:13:45 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:55644 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbfEGONp (ORCPT ); Tue, 7 May 2019 10:13:45 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7ADD80D; Tue, 7 May 2019 07:13:44 -0700 (PDT) Received: from queper01-lin (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 277933F5C1; Tue, 7 May 2019 07:13:42 -0700 (PDT) Date: Tue, 7 May 2019 15:13:40 +0100 From: Quentin Perret To: Luca Abeni Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J . Wysocki" , Ingo Molnar , Peter Zijlstra , Vincent Guittot , "Paul E . McKenney" , Joel Fernandes , Luc Van Oostenryck , Morten Rasmussen , Juri Lelli , Daniel Bristot de Oliveira , Patrick Bellasi , Tommaso Cucinotta Subject: Re: [RFC PATCH 3/6] sched/dl: Try better placement even for deadline tasks that do not block Message-ID: <20190507141338.tnp62joujcrxyv5j@queper01-lin> References: <20190506044836.2914-1-luca.abeni@santannapisa.it> <20190506044836.2914-4-luca.abeni@santannapisa.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190506044836.2914-4-luca.abeni@santannapisa.it> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 06 May 2019 at 06:48:33 (+0200), Luca Abeni wrote: > @@ -1591,6 +1626,7 @@ select_task_rq_dl(struct task_struct *p, int cpu, int sd_flag, int flags) > > rcu_read_lock(); > curr = READ_ONCE(rq->curr); /* unlocked access */ > + het = static_branch_unlikely(&sched_asym_cpucapacity); Nit: not sure how the generated code looks like but I wonder if this could potentially make you loose the benefit of the static key ? Thanks, Quentin