Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp31640rdb; Thu, 1 Feb 2024 00:45:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoWQtZaRycWBPK+s4b01dtLw/mBE2lKUB+ATfdIJLZca4Whi5qZds9eF8qgFQ8H90n8PaO X-Received: by 2002:a92:d910:0:b0:363:8ef7:cdc4 with SMTP id s16-20020a92d910000000b003638ef7cdc4mr4645744iln.25.1706777149483; Thu, 01 Feb 2024 00:45:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706777149; cv=pass; d=google.com; s=arc-20160816; b=pRIcf0GmsIa5lp25RkLqLdCwut6qOITk217Q4tq1ekosAibuHbBUQmMYdfiXF0jtqj zyYs/9mWCOjz05zQLOw5nJzVMWOARI6A54y+S6Y4BsXuzEM4x+KZ5CayYK3pVvz5teqM g0go0YpYPhMNpD4y78Pji6mpRIe11jqVPN+Ad7j2kPfoEOb4hxmE4cmQfAaoSBK5yveG waHNuJ7HlfAZtj2ZXI9Zm3Bu5CRGqVyPZh+rOt8zv/EEGCQ6PUMobMFprnLI3COMWeQP hicr5BZ3l5uuCUs28FlrUPba/jOJFDAQridpjWrQjAvc/lEeitOjmcolVtUX3QMXG0BI +W/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=eqQ2rjhscVH44HJbE2x6Sjo+r+IoQjs+UyP6+yIu/FM=; fh=XhWpRHukdsT3b/O+O3W8U1leQzUDbxiGqu4V7xWS+co=; b=ryA3nphvKDFmLdmpgg4cqWmzMUwzbsn6sO9gnFRV16TAOFu6k7E3dGI0zmey8QNRJ4 KSly8DX9Zed1zJx2Fp1YjtutQbPdlSm/eVcePJftpBSA08KekiJKVnzk7oKFAS16KVYp fD3mClIF+y1LcnaTkyRGHKQ8z5TECERXXDyzkCsN4V8g/lcVqwT72cUl0XEtkBfGjG53 aaV9GE5UoJLoagEpPsrgjSiWipRHJhikGsHkxP+6Rl257nxvIwaLe8r/mh7mS6jm/kTV UUb/4j34YTdPzTM9UBI+Yp6/sTafHgs9MxNCpzE8fpst34T0yzE2eb1R9dah/x+ibClp fFtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eh0e906Z; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUi/6wt05QJi8lmA8SbYVGMAD0HUBpf15p3p3t7EErMHiGuEo7QWQ+R5j+0+ob/2bjWPN5TVXNpudzkO8Qu4KijH8UF77kWNmFeUM5i/g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l65-20020a633e44000000b005cf9e59472bsi11397106pga.85.2024.02.01.00.45.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 00:45:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eh0e906Z; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4850B2825EF for ; Thu, 1 Feb 2024 08:45:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FBAA15AAA4; Thu, 1 Feb 2024 08:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eh0e906Z" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFA1F17554 for ; Thu, 1 Feb 2024 08:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706777129; cv=none; b=JJGjGo83gJcK1+JpqMkZDxi4Zcmf4qD0eQmwkwhH/UF9YIBwD5ZZUejMsLtkhtEIIgaYxJ7uB8uVBiLclTT24Ggw/aazQipvAgFnisN76x97ROlUdn6DSjjMVazFdRzPjbZQbMaj29Rpi4T0rox6k8+z7g2E3FM2c1eR20R0GVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706777129; c=relaxed/simple; bh=ZeCVEC88aFDQifLmxDuyqjAZRUqbopvrbP7CIOyEiiQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EjltluoT1narlMHrGPHaVH3QSxiJTuyd14MPCuzgoDigfW9AohbI9arOFgXirCurpqQoOgHO2BYpyRT0XpKj5991bsOpQXDiLxrHkIiLmXjh5W/bztidjVQRq+Tpvi9Bjx2OmOqssPYjksmbG7LNBM5UE4OJJ33zQ8xw9JcK9pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eh0e906Z; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6ddfb0dac4dso508523b3a.1 for ; Thu, 01 Feb 2024 00:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706777127; x=1707381927; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=eqQ2rjhscVH44HJbE2x6Sjo+r+IoQjs+UyP6+yIu/FM=; b=eh0e906Z4ijTjeVKnVuiGc3S6z4N1TztMt5YUaORz+JSpIdVI+JY8jUydErbw5LUxt 2ko/b0RjrgCpBMsY4r//NuKDEORJIcxZXA9EN9I19XmGQSrjOX4Fg/fLIZ6vm9ma/Tae mh3/kg1DgizvNucydJ2TbxyJnhSSPN4BfyK1h937o42XQfDFWq9Ff8yewL7y6tonUvnI PySTqRXm9AF9K2vyb6Xn7aw2NQcT5hPr7vyk6dtvS1SVI8XIHOQeWHkYSV8GDVFqZggy V34We2rzhN4msoyX0AuxFGO/CNjxpMqOcmJjmjGp21VZ11ZpNZA3elbBtzjUCwMiZi1c EoCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706777127; x=1707381927; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eqQ2rjhscVH44HJbE2x6Sjo+r+IoQjs+UyP6+yIu/FM=; b=uq0MjvgCOZKvzOFLIUgCLpwYqtUBoIKv4kMBhGpJtln4VL5P9eGPWSvxsBDgghBibf kedYW7F9TYK+4AvpBnXV3HtEKYh15q4F3b4LUMYSAtkV3CxUndZM6p8seOjyZJW3ICH8 OsP7jWbJzu9E9jIoOtAdBTNSVU+WLSquDhrUfCqz+pEdIejab0c6J2a/cmUxVzb5AsTw dAk4tf8tbT5efrAVREE2i93/5TMtcYWazCMxGQWgTDm/6S0ewMenuLXHHWhdhsDAEi39 uhYNGCwwveD+q6QSqU2A/hESDpg1tbsHmSL+cbbsRrTQdrHSywDkm25VnbXQf8Qs3Hy8 G5NQ== X-Gm-Message-State: AOJu0YwAhgMAewoiW7ijFH5C4LQ2KfJC8RfggeOFGFgpwa2tOGIh2UBK 83P6KCwRq0sZcV/R6BETYVINAbTDIRH5hnofptL66SJpQuNyCFnI X-Received: by 2002:a05:6a21:398d:b0:19e:378a:124c with SMTP id ad13-20020a056a21398d00b0019e378a124cmr4279963pzc.12.1706777127160; Thu, 01 Feb 2024 00:45:27 -0800 (PST) Received: from [192.168.255.10] ([43.132.141.21]) by smtp.gmail.com with ESMTPSA id cq13-20020a17090af98d00b0028e023be116sm2937953pjb.49.2024.02.01.00.45.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Feb 2024 00:45:26 -0800 (PST) Message-ID: <5e60b86f-a854-4958-a936-820597d43b6b@gmail.com> Date: Thu, 1 Feb 2024 16:45:23 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/6] sched/fair: pack SD_ASYM_PACKING into sched_use_asym_prio Content-Language: en-US To: Ricardo Neri , alexs@kernel.org Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, sshegde@linux.ibm.com References: <20240130131708.429425-1-alexs@kernel.org> <20240130131708.429425-5-alexs@kernel.org> <20240201005547.GC18560@ranerica-svr.sc.intel.com> From: kuiliang Shi In-Reply-To: <20240201005547.GC18560@ranerica-svr.sc.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/1/24 8:55 AM, Ricardo Neri wrote: > On Tue, Jan 30, 2024 at 09:17:07PM +0800, alexs@kernel.org wrote: >> From: Alex Shi > pack SD_ASYM_PACKING into sched_use_asym_prio > > Instead of saying `pack` you could say "Check the SD_ASYM_PACKING flag > in sched_use_asym_prio()" > >> >> Then the flags check passed into sched_asym and sched_group_asym. >> It's a code cleanup, no func changes. > > I'd the changelog as follows: > > "sched_use_asym_prio() checks whether CPU priorities should be used. It > makes sense to check for the SD_ASYM_PACKING() inside the function. > Since both sched_asym() and sched_group_asym() use sched_use_asym_prio(), > remove the now superfluous checks for the flag in various places" Thanks a lot for all comments for this series patches, will take your versions in all commits' logs. Thanks! Alex