Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp947995rbd; Fri, 23 Feb 2024 08:20:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWH4us68hU68mSlUvCp6TROYWDIeO9E9FpsLNzNNVJmJlAK6YdcoChfcax5ql9d8gYePR4cy9bMdO+H8otM3kCQ+BDnBdsDx/XrJyrCRQ== X-Google-Smtp-Source: AGHT+IHLzWEoQLJeA5vfDWieEI4O+L1/jKQAaPN3opOUs3Ea5cgo9E0IEb7uWIKn8exx7IXomUTH X-Received: by 2002:a05:6358:5e8c:b0:17b:5d21:e86e with SMTP id z12-20020a0563585e8c00b0017b5d21e86emr410460rwn.3.1708705255555; Fri, 23 Feb 2024 08:20:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705255; cv=pass; d=google.com; s=arc-20160816; b=CdHL1KRoIFA7z+Eobx6SnSSuSYIuHunXZZhEyGGBXLuLBhpFfDFinJyefW2w3DXXwz rYi1W9YoDLo/NIwGyZEbZK1sSJE4HwaDq5XMxytgt1llQOUXK9Vdx3HuRaMCQYtsIdf0 E7PpmZ4HLyB6cR/2zTzvWt6o0pPQRtWspp2cdaTsKttV3NAPcfXjHbZs8uzS1GYtZXNV TlP1Futg77WESMVMatZ+6qJNITVPSsT3EYMKWq6w7ay/4E/athD6hIEDxdjEdbUzH1dP EfDmLKvLbCSxo9SiKQq2sWBc32SvfdY9FEvoyFkQ8EMKsJBboXms0JbtSw09EYxuEBIR 4WBg== 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; bh=IYZqpnDB3Z2+5OZRzz3nhcxs9MGkwIv0jltubSu1ZvA=; fh=56ula5s0eiClKHZRVjEw45e9oFx9e4KTgMwUQyC3yzQ=; b=VDoano0lPU6xIZoqZsp5UVc8ijAGxokmqR0/nvEAxo7r5dAzpVZQzmi1hGMrYF7xel XoFgHDbeXmUjTU5/7XH+PLs8lTqcCH8AtxMISmvNsAa5QC/35PCO8rqa6nutQukpKriP luYbHGgot6v9t0z2y7gYy2EdpW81/ftjWYXkRNoFoGPtC+EEwi2OXiZVS46a4GY0KmV0 uvZtVTOkaLvJAbn13u2iF5MSkqDOHaDApJTtriz8xaounr9o5xD2P7dyhhXNlnIe7X6b ABQOWrGFD+U0Dnn4ELnFm+BxFF5oEhnVzRdXugT+DRlE6tsGuWvBQ+v+9FC2E3poXIYI NW6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78684-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id by26-20020a056a02059a00b005dc8961f39dsi12960123pgb.69.2024.02.23.08.20.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:20:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78684-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-78684-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org 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 BFEFD28C4CF for ; Fri, 23 Feb 2024 16:12:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7692F84A30; Fri, 23 Feb 2024 16:12:07 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 B6093405C7; Fri, 23 Feb 2024 16:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704727; cv=none; b=d4n8TCdBl5+StkLpiCzBwTGwZB8R86+ksItWKkw/RQFqPeu8Uq90RrpthvmZScYnfXMToobS8Obxy55xhHm2KKgKAeYO1dqu3lxfan2JluV21QZ3h66pL9OPkmGP4y/ApSdR+8f8KizL1qZdT0jzLHGaiw2azCyBjqSwBU3L0dY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704727; c=relaxed/simple; bh=IYZqpnDB3Z2+5OZRzz3nhcxs9MGkwIv0jltubSu1ZvA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QW7JDYsl+HDLXdAeeX7rzyk0jzfx90KF8ov716x/wxGWCo/XLeOTLYnk1cdgcDR0MuL+K3TblI/ZqCUDXMDIXu89baK7Dlrh+lSbCL2JfHz6r+G51CfdxHtseevXYZoZv14oqqaUdrduRa0P2yztlGKLIWRUIhEsnhizBBWgVrI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6e47c503fb5so703238b3a.2; Fri, 23 Feb 2024 08:12:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708704725; x=1709309525; 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=IYZqpnDB3Z2+5OZRzz3nhcxs9MGkwIv0jltubSu1ZvA=; b=roLdd85Bv8xTcnyoKQZE5NWzYzLElKQMAjtIFUgn5Yjx32FSAD0QIuZW+ttcz5CS3B 86JDfG5qrU5XuenY7Hi9xZyZrcJM3mhDgBaVELwn7Rve+xKDepSBvsk5yKDh2vjpZtph uKNnubWZqUGvzpcwKIJ1h/av7e0otmOi9LYxaoW1otG2rBPeZvMOVYkrEPe7100O+jEG yb8qlahu4Bhdi/QHfqoOQvaKgUtCPCEpOX15kiPmBjlE2t1t3hCRPjxF/L+NEC0IRR5Y zNcMk/aRbfW3kKKTcK/ddsUIRN1/qrl2NWw5X52HcTEptkM8G7EyN4LQv+CLJEq9OYwY KwhA== X-Forwarded-Encrypted: i=1; AJvYcCVLNDVOR9gr1buL6CMNVPbZydbWY4isv16mR+lyZvbKEhXqSWInm7QBJzvJrfeOmZkA8RXcIgs1sP98jV015r4Aj9wTi2el/KyOTU0= X-Gm-Message-State: AOJu0YwGgkCS/qF1UvdAO6oYGctC1Sg73yHzPOV21prmIIbflfRlZgr2 mmtixusGr67NI9QNYA5iwuWISicIrh+j9CHPtQ32TAZepP7ciozt X-Received: by 2002:a05:6a00:929f:b0:6e4:d868:ac35 with SMTP id jw31-20020a056a00929f00b006e4d868ac35mr298726pfb.19.1708704724846; Fri, 23 Feb 2024 08:12:04 -0800 (PST) Received: from [192.168.51.14] (c-73-231-117-72.hsd1.ca.comcast.net. [73.231.117.72]) by smtp.gmail.com with ESMTPSA id d24-20020aa78158000000b006e053e98e1csm12993655pfn.136.2024.02.23.08.12.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 08:12:04 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2024 08:12:03 -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 1/2] sched: Add a new function to compare if two cpus have the same capacity Content-Language: en-US To: Qais Yousef , Jens Axboe , Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Sudeep Holla , Wei Wang , Jaegeuk Kim , Christoph Hellwig References: <20240223155749.2958009-1-qyousef@layalina.io> <20240223155749.2958009-2-qyousef@layalina.io> From: Bart Van Assche In-Reply-To: <20240223155749.2958009-2-qyousef@layalina.io> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/23/24 07:57, Qais Yousef wrote: > The new helper function is needed to help blk-mq check if it needs to > dispatch the softirq on another CPU to match the performance level the > IO requester is running at. This is important on HMP systems where not > all CPUs have the same compute capacity. Reviewed-by: Bart Van Assche