Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp544614rbb; Sat, 24 Feb 2024 11:49:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWBI/qA5nbK2WbGQwWS8bg9IklFxV6hBBb0Ks1XUtMic7iu9nWNab7LTV1DtW+FwgORrHBXEJ/bLIlZsOnLbgRWOWn8rhQnGGJOk0AsfA== X-Google-Smtp-Source: AGHT+IFnFbjVYyflgwMCpRYjwRnPFVgU2TFPYu1KpDL9CC63CWiiKNz0Db2dNzA7ZgI4Sjm1vYwE X-Received: by 2002:a05:6a20:9f45:b0:1a0:9e3f:925 with SMTP id ml5-20020a056a209f4500b001a09e3f0925mr5293624pzb.20.1708804163451; Sat, 24 Feb 2024 11:49:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708804163; cv=pass; d=google.com; s=arc-20160816; b=BAQkk4Rg/SAmeZU+lkkpX8sXTJoUvpzqKThqufvDA2MNHWnLhwmaAnddxg83ZiVbEO Gjqa+b633QYGFHiU8PgIgJb2o60oSYbCLvTeHImSQMq0LTrafQHloE0Dk7YFlD/Hy5xE U80zJo/NKwKyOIO3zm2CW0uxjyzJ7Qt4CAp1t860vwmo3D5IEcg7VQQ7zzh4/ImlcdDT kL1I6Spj1zWVtEy3G34Ri5mNLA2YX4FPGG2tEYs60ubnyw1smx/h1Yk6nW5709M+sdlI 0Zb+QAwJ5KjPptVkY0noD/UvwvAhFErDaxthX1lTy6fUG5kbr9rAMzzJOFgy9MvSQj99 qyfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=EUpB8lafalL38sJImqCa3LAl1ysZO9xWvK8Dx/nTsgQ=; fh=2VPG+Mdo3F1KBgmJFLN5YY6I9RZLu9lPCHENy/yMfRs=; b=UrzPWqvvIXnx3M7c6mRpC70EcrnUuPZQ/+dHSeR51UknHVp5WexEjs6/6OtGhWR8Xd p+6eOnU3suTTCKq7ThBzKhb9O4QkMdeuGoVG3A/S+QW3iIaEZAt3ibg94MH+o8/08I0L xnaGLlHcIQ7DKyEF81YK9gGj1cYj8I2s9I0D2ByDxzlo5jbCsSHnwjxTjrqmimzsgnWK a8fT3KPyW5GPOw+vcD2yj/uAPF6PMudaq8QY9p77aQNg/XsZ9WErWCBDF9DCWwtx4vrz IFI5rnisGDoofP/7Fzm3MPush++N7pKWxka9FBNr/UlWPOFS1W/qBPArk+MtjHSOljz1 8+aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=yE3DBTUM; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-79811-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79811-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y20-20020a634954000000b005dcbb848d2dsi1237721pgk.551.2024.02.24.11.49.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 11:49:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79811-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=yE3DBTUM; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-79811-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79811-linux.lists.archive=gmail.com@vger.kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 627A2B21C62 for ; Sat, 24 Feb 2024 19:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD27E4CDE5; Sat, 24 Feb 2024 19:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="yE3DBTUM" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 0FA4D4B5A6 for ; Sat, 24 Feb 2024 19:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708804139; cv=none; b=NFYGNJ84qPwrU4hnFZ22CIbmbbl3IfSIbjmzc8VWPra4O2NU4THUR0lWQp35OAddfDM1y68YjgW+DhbQIs4UDAQn4JcueWMcTjy7stLAj+2dUfZY8R7gLXWexdIFzPoFTLu536mGJU1nxwOKsQhIXuunMUxfU7gT7aZdijIpE3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708804139; c=relaxed/simple; bh=o7Jjs3TaAPlouujgnP/cSfzC6OWeJ7UN9H1QdYLOBSE=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=mRtCWCTHjg7gMYQNSijxd0yeTMgoA1UOe54jpUigGtIoyZ5fFTFl7lmtu9W9Fbeq9YorRRrOgmnJvokK4QYPpyXa9Dzj0VmMiPeI7pl8i3yUMLkRvkmyfla31Fj/oStcZvD/Tw63XeYmA58H8ugLl2YmPLKgYmVYauCYfdDwnvc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=yE3DBTUM; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-58962bf3f89so691258a12.0 for ; Sat, 24 Feb 2024 11:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1708804137; x=1709408937; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EUpB8lafalL38sJImqCa3LAl1ysZO9xWvK8Dx/nTsgQ=; b=yE3DBTUMjVDVD9OLGD9dLMXEk9MvPtZatr/oeyaLvoZGNkKpiDQan1vLZZZ0KnNpTO OBBGog7/tDJinexi2FtVS65v63BNPPJHOsGqKOFyJDEXdeDm4ljQRoYvtpB3Frwm27B9 rBYEj92TOe1dsgCLyI5ZXL2Fpp5XUsBqPlvgBF52hQysz7NDT31eclF/vsB9P4HfgfBA qLGz80jc1/BunDiiwAYagcHWED97Nj2ihG2zdLO5+6k5j7QTc7adhA6SLdP7KlZBnHWU Imoo38Y5bM9S0hl64V/RTt4gW17HmD/aci6A9LPO+F8RKEXl1tpiiHIqdoJ+Na6WGifr U14g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708804137; x=1709408937; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EUpB8lafalL38sJImqCa3LAl1ysZO9xWvK8Dx/nTsgQ=; b=Bi2s8d7WxUdAfQgeY6k1/s9QY3XehMCkCwlqlejG4gnzJFXnnwnDooRlY7S9/6/LGa rWBrp9trXECXxiISKIjm6ianL89yM4AsIZzHtPb7CKBArIxsiO6b0VFqDPMvV8xYjBuH zMQpRF4qACwnbI1yyDirAii/K4hZpfeAeqDHdrTiSbh/Hprkpy1is9JwVTypNX5U0D5E lCFRpN85/yAr+bayc+T+dL8Ccbd5Z3UXZykqu1lSdbwG6DoYMvrMd3TGHStWAV9+Raje nPbR7ytemvmzo4dzmnLzhDWewnyCAOy8hzlbICdTVw+4/Cn2c1CfcQk+ue0P3/GeE+sn 4Cng== X-Gm-Message-State: AOJu0YyKZ0z0Swfb1S6pjEUJWKjOoGp5GtdnGbhIZqoFz+1bZQxLL4CF Q4rZZUqp01/Hcq9qwLR43Sq2fwjocXh7nKsP9ijsbmtFna5tfGEwKU343wV1K9E= X-Received: by 2002:a17:902:eb15:b0:1db:5b21:dcef with SMTP id l21-20020a170902eb1500b001db5b21dcefmr3556474plb.5.1708804137356; Sat, 24 Feb 2024 11:48:57 -0800 (PST) Received: from [127.0.0.1] ([2600:380:7472:2249:6d10:d981:9c6f:5d24]) by smtp.gmail.com with ESMTPSA id jk23-20020a170903331700b001dc35d22081sm1345691plb.50.2024.02.24.11.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 11:48:56 -0800 (PST) From: Jens Axboe To: Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Qais Yousef Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Sudeep Holla , Wei Wang , Jaegeuk Kim , Bart Van Assche , Christoph Hellwig In-Reply-To: <20240223155749.2958009-1-qyousef@layalina.io> References: <20240223155749.2958009-1-qyousef@layalina.io> Subject: Re: [PATCH v2 0/2] sched: blk: Handle HMP systems when completing IO Message-Id: <170880413600.87395.3583257732140064720.b4-ty@kernel.dk> Date: Sat, 24 Feb 2024 12:48:56 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.5-dev-2aabd On Fri, 23 Feb 2024 15:57:47 +0000, Qais Yousef wrote: > Due to recent changes in how topology is represented on asymmetric multi > processing systems like big.LITTLE where all cpus share the last LLC, there is > a performance regression as cpus with different compute capacities appear under > the same LLC and we no longer send an IPI when the requester is running on > a different cluster with different compute capacity. > > Restore the old behavior by adding a new cpus_equal_capacity() function to help > check for the new condition for these systems. > > [...] Applied, thanks! [1/2] sched: Add a new function to compare if two cpus have the same capacity commit: b361c9027b4e4159e7bcca4eb64fd26507c19994 [2/2] block/blk-mq: Don't complete locally if capacities are different commit: af550e4c968294398fc76b075f12d51c76caf753 Best regards, -- Jens Axboe