Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2964949pxf; Sun, 21 Mar 2021 13:16:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqfw0MUmg0VVYd72Ou/ew4Y/QruaerHyD/lKvKn8bVz8K+3MdlyuzUnQ3pY+rrb/1a6pO1 X-Received: by 2002:a17:906:d787:: with SMTP id pj7mr15618262ejb.257.1616357759937; Sun, 21 Mar 2021 13:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616357759; cv=none; d=google.com; s=arc-20160816; b=nS9UILoOh8E0RP58YIlQbf22eOKlupTMd6kqEgwxScJQt+LKLGpoEm//qw6rQT/1tO uGPKI9qcU9mpgwsAqP0n2sFQDSROGf7kYSkqJ8Z8yzVpgzpvF8JMaF2vFMt8mQoLEE+5 Q8newYIBQjZr3NKTYfObJOCPzpXHsKCVicx2zHAE56Q9RevpTyXgtutjCB7fCEmLCp7p KUWye6sSHIe6Jud+X/VZ/A0/zRrAvYbfNRya6qG7GeaRk4fvLxGQ7/T0TbckiHP65Pgo 4XqsngtySLY5BId6k3ZnYDPgp3eV6y/B0WwGC/zdVKooouxfP8eYt7wbAWcwq+uru2Al 8gkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=tS6UsPcyMe+bVO5PDyvFvGyeSbZrYdz1be4bRPzKWSY=; b=j0Jc3ui77I46qllnmHS/by9mLr4eFvK29WAY5qClNZW8Ckq0NBG6kYGdPa0VSBgKqk JsCOSNbwFzKr3ICqA9jOOvkvK6UQTrgHPt1GI0yTR3kMb6i5D95rpz/tL3bavNvKetN0 Zkb02DxLRibamsMkWO9H899Ts6gGprE+G2soPP1W7oGSbKXP59Qv1IB+haqqF04QqsRH 7drzjfvjlUsg1hQ7RFhaFAe6Ea/d8m60nUMMd5EzXnuTEGfRQ1TBFk/NaNm/uYTPQcaD 2nnri8jaCCyujgYOUR3wApumUmxLiBI5lGBdI7co3s5w5hjz9MN5Z4KMwqWLvL50jIbk DJ0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si9201010ejf.56.2021.03.21.13.15.37; Sun, 21 Mar 2021 13:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230166AbhCUS6z (ORCPT + 99 others); Sun, 21 Mar 2021 14:58:55 -0400 Received: from shelob.surriel.com ([96.67.55.147]:33544 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbhCUS6b (ORCPT ); Sun, 21 Mar 2021 14:58:31 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lO3HQ-0000v7-AY; Sun, 21 Mar 2021 14:58:28 -0400 Message-ID: Subject: Re: [PATCH] sched/fair: bring back select_idle_smt, but differently From: Rik van Riel To: Mel Gorman Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, "Peter Zijlstra (Intel)" , Ingo Molnar , Vincent Guittot , Valentin Schneider Date: Sun, 21 Mar 2021 14:58:27 -0400 In-Reply-To: <20210321144832.36f31f3e@imladris.surriel.com> References: <20210321144832.36f31f3e@imladris.surriel.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-5buy7KC4vm2xwfWl320E" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Sender: riel@shelob.surriel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-5buy7KC4vm2xwfWl320E Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2021-03-21 at 14:48 -0400, Rik van Riel wrote: >=20 > + if (cpus_share_cache(prev, target)) { > + /* No idle core. Check if prev has an idle sibling. */ > + i =3D select_idle_smt(p, sd, prev); Uh, one minute. This is the wrong version of the patch. There's supposed to be a !smt && in there as well. I first merged it right, then somehow git ate it, and I merged it wrong the second time. Sigh. --=20 All Rights Reversed. --=-5buy7KC4vm2xwfWl320E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAmBXl1MACgkQznnekoTE 3oMQzwgAmmBAhKhZ6RvAFft6hiwHVeeIp+Ei/0yLIBhEhgztOcjSFgIQExnvjX15 vFlHhP1FKJfZt7L4R4wvlHyqxm1yL3XryvJxC/7+GNClOA9kRpn4GsEGImqP4z0s /VeZEeoQ40IXca2T+sKay0HCOPj+wFjOse7NakG2NN+E3FUGp/uGVBHHQ138Ppm4 QBn5ZmNxFNhbJlNjboRumKJ70oOCafsiwVg1TlMWW3ri2UE0UI2eF3ZTuI9pRLa7 jiw/190jBq0WFEnzFCiOsqACH/xuSt3rQQjljudr+MoFeDq5EG60Q66sGSM9iC6l i8HvAwSzfQvDtX2bjna4lZPS8JmyCg== =KWt5 -----END PGP SIGNATURE----- --=-5buy7KC4vm2xwfWl320E--