Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1507552rwl; Fri, 24 Mar 2023 11:24:10 -0700 (PDT) X-Google-Smtp-Source: AK7set8oaXUf6KH1qGcMWG/pu/pKN4B5IxHfw5V8PUKOZd4KIV0Te3G6bYLlgs0rV3puqb9LHb+B X-Received: by 2002:a05:6a20:4ca5:b0:d9:162d:98e4 with SMTP id fq37-20020a056a204ca500b000d9162d98e4mr2986435pzb.54.1679682249799; Fri, 24 Mar 2023 11:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679682249; cv=none; d=google.com; s=arc-20160816; b=bDULaNJYpZdcbS25+Y2ziLTLQHUuVPdF2eMzNGM2uNs9bUoyP1d1zrI+7seIizI2LP riIsG69GNRjAcLx8dMcX+3Y+5AgUunLd1LK8yiDLpWdsddiHWGevg9f2iwZIIdiP7EfO FqBvx2PMbQWYNIHJ5jFs1U3BPbzY8zWDTJ5HzGbHCrj9Hiyi1pxE11hvxPEAzyxj9cI6 2t4NXTYa5IsjufUAfzplYOj5r55wHmeflO3OHIED1Xg2P8+A4icImLAKF9MXw3KUjD/q 8dYEkqTQRHqoQo+e79naZuUZMEwjv/w/TW+fzTxjTa0Ijc/bvd/PG4/6FR5LzowAj7WN G+qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GsXEmpX7jt/HfXlKrWUvTT6ogyq2n9SaBj4U2OfhPHc=; b=0TvbRBvkEFSAYlBh/T70Mb7Ea9LbIwaYtanjsyKYaARPWLFUXbydEzIZedmyd8iCs+ paOP1nKtY+sQEuuib9eg+l+sbLLCa8KVOrkFBuBUwtGanqYCurvcUlLqtXtQi6UuubU3 YvDcZhIrpm6SCGxovFNvoH/+OU2CzkHvMtnH7QVYZtbc5K8RwsAok6B+wzWWmbUcGptZ X/fH8G81CWUEXvCmRbiKdhO9ExPpOFziLjmHtW/OK+Pu9GrTeA28ZSv/f0VrxHdtkY9r LtYWAXYd2YOEPnUBpty++CsXLP5pw0o8hfp4Ov4tpbo3DX+et9eKb3EHpxxH8WtI8DQ6 1qHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CBx76Fgu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fc34-20020a056a002e2200b005924b9f5b9dsi22776568pfb.333.2023.03.24.11.23.57; Fri, 24 Mar 2023 11:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CBx76Fgu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231740AbjCXSTm (ORCPT + 99 others); Fri, 24 Mar 2023 14:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbjCXSTk (ORCPT ); Fri, 24 Mar 2023 14:19:40 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF08F1F5FD; Fri, 24 Mar 2023 11:19:39 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 7D76133B68; Fri, 24 Mar 2023 18:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1679681978; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GsXEmpX7jt/HfXlKrWUvTT6ogyq2n9SaBj4U2OfhPHc=; b=CBx76FguKcCbaNh++Rix2ar8jnobmAuieXUZZS19lXDeHSnKBM6hwUD7+5a9uveK9ryyEf cEjIxxsPM7+BmtmM34Of1N6aOCJDguL2vO59qwvH6JFhwoXcNxefhwQ3UGdqCSYq5lQvwt IPytjsmPLopWx/Ekf7gZ/Rn4Z/z8its= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3A370133E5; Fri, 24 Mar 2023 18:19:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ek3SDLrpHWSORAAAMHmgww (envelope-from ); Fri, 24 Mar 2023 18:19:38 +0000 Date: Fri, 24 Mar 2023 19:19:36 +0100 From: Michal =?utf-8?Q?Koutn=C3=BD?= To: Will Deacon Cc: Waiman Long , Tejun Heo , Zefan Li , Johannes Weiner , Shuah Khan , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Peter Zijlstra Subject: Re: [PATCH 3/5] cgroup/cpuset: Find another usable CPU if none found in current cpuset Message-ID: <20230324181936.5sf6xjc5a4vacuku@blackpad> References: <20230306200849.376804-1-longman@redhat.com> <20230306200849.376804-4-longman@redhat.com> <20230314181749.5b4k6selbgdhl3up@blackpad> <58a1a878-fa0b-285d-3e43-2b5103d3c770@redhat.com> <20230317122708.ax3m2d4zijkfdzjq@blackpad> <20230324143247.GA27199@willie-the-truck> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bnv5nqjb4an3p6ze" Content-Disposition: inline In-Reply-To: <20230324143247.GA27199@willie-the-truck> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bnv5nqjb4an3p6ze Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 24, 2023 at 02:32:50PM +0000, Will Deacon wrote: > So approaches such as killing tasks or rejecting system calls tend not > to work as well, since you inevitably get divergent behaviour leading > to functional breakage rather than e.g. performance anomalies. What about temporary performance drop from 100% to 0% aka freezing the tasks for the duration of the mismatching affinity config? > Having said that, the behaviour we currently have in mainline seems to > be alright, so please don't go out of your way to accomodate these SoCs. I see. (Just wondering what you think about the fourth option above.) Thanks, Michal --bnv5nqjb4an3p6ze Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTrXXag4J0QvXXBmkMkDQmsBEOquQUCZB3ptgAKCRAkDQmsBEOq uVhEAQC7JaLVG3zxtIHj/KOXOqyJ40tnjVLvv86k89k+Kuk2HAEAuSkfis+4/XkR nNuhu2FzjdRnT33UwUPZMqfuKUBGeQA= =Ns6p -----END PGP SIGNATURE----- --bnv5nqjb4an3p6ze--