Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1371623lqp; Fri, 22 Mar 2024 12:49:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2i3Xg57HZiGXYXkQax3wJ/ON8BUkAsgU9ATUul0KyUS/JyNawOntmS10JpIRvNbJBpMT6mbFFTs9g4god5/AgrIF5/eSe1jEE0/ASIQ== X-Google-Smtp-Source: AGHT+IHao+G3Z865TJRTyggCjVklRSuWa4mopfkUHngIFV9QjpJhGg4SWQBfC1Wy3ukfAoGry5sX X-Received: by 2002:a50:9b58:0:b0:566:2aff:2d38 with SMTP id a24-20020a509b58000000b005662aff2d38mr361337edj.26.1711136978940; Fri, 22 Mar 2024 12:49:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711136978; cv=pass; d=google.com; s=arc-20160816; b=xzNl0ShTIsd39RTsr25WHqtf4jhMEgSKjfYdPX3kyhWpXdVq43FNt7K2ujkA+9fIXS igpdaQjzd6L5cr+THgBXpEyQudv3dm0Qk/6YZvYik7BsBvYMhtgiNRJiiviW3D/QHyo6 YwWfISVuoXKmB6H2G8i4yc8qj3tqPT3nluN1mjsMBhpnyRvY5SXAYpGNhBboqf83M4PG mgeARyMXK+fF8d9l2UavIhbaKy60FRh6Csqa99sBBpMgtYhgNQg+BTwyD5RxW+x3PxYD CkJ3+ePTq5F9iL2glOsvZLHjevNjdLokGxqWL135cbCgP/VRiSisn0UgqN2/HVqSSWYa CEOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=EQ7DBIXYnRLKJLYv8JBf91ZtttnplOpDVAnjNcCqIis=; fh=kwu1MmcM8gaBg0lJWBEI026FdSx249TP8389yUapkNk=; b=beSSYrmMr51GPy67RXmaKLxoOxAGF45HphEfqUA+HJFjyWgf2wFi6GiksD2ULfAsxT qXsO423qVButcuye83fvE49S3JGgj0ov9SJms2lBKp2VofDtl2Q8R7pqgvbL/IBOJmPh 20J0tZLGJgsmpS40H/RK/zXpOdRqBeujeWHndgKRocFntl4NMud4fqP95aq4Mj15D8SV eBz54WDjOdRP63YG6kAc9PihvTnF8iS8vnp4oIjHoOAgRjbKmsaoiHvg5zptx8pjojfG 54o5jnNgTCst9L5i0i1Z3QcCDNBD6GlvLQxK7EJipWJmkLbFTheyLh06tHQCKY7IQWBV Wwug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nhBdMSh+; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-112004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b20-20020a056402351400b0056be9751ca3si143053edd.64.2024.03.22.12.49.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 12:49:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nhBdMSh+; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-112004-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112004-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9C5091F2407C for ; Fri, 22 Mar 2024 19:49:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 906F77EF0C; Fri, 22 Mar 2024 19:49:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nhBdMSh+" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 34CF517589 for ; Fri, 22 Mar 2024 19:49:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711136971; cv=none; b=tnczrkD8ajZ8B8wJKAuxNy63qunPdsDbD9+B2vJxYS/8MTxP41TEUVL4bx71vBTuSZehEDSk5ofRxWZ26ot5pggajxpjfFCo1RdrEbj/TEQTvH4unOGQl3u+Yr4iKnamLYznY8x1/frlHF82L8r4j8SM+zZa9VYVScDBRA5lTRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711136971; c=relaxed/simple; bh=EQ7DBIXYnRLKJLYv8JBf91ZtttnplOpDVAnjNcCqIis=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=TNWXq3UzXpiGKobcww85F8m9zlmhQeGPX/8wtbEsIZ2fP+HIY7Ze5nCAeK+97Xi7CsObehjGJwnA4ymTj9qXIwfEp0/NoBMA40u54ShB7FZZoZ4PT2MbvU6CZIbTo5lYUy6IUpp6VNojo+vgH32UCBvPkLETVkaFkl3JFo05rCU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=nhBdMSh+; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-568c3888ad7so331a12.0 for ; Fri, 22 Mar 2024 12:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711136968; x=1711741768; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EQ7DBIXYnRLKJLYv8JBf91ZtttnplOpDVAnjNcCqIis=; b=nhBdMSh+OAJyyoEuRllkELIN0317hsrGNkFYv1GBSUyACW2d0zntJFvqRnzwFFhwb0 9BR9hMZAAlgRAPviVYbXxvxfRDxw+21+85H79HNnlC6LnijKXxDLOefi+SyUt/39h5QL ihxFe6svez8VCjFQ9qBVp3s6F/qXSrIIFg12Bk7zOTL1DsfATPtgGgzNAJFz3+8b+KNe jIupJRssU1RC1hWP5O+ywRgroAIl17qH29DQaeLEzzPr0027zE9OC1F3tn3XoIcNIK6q 9Xd1yyLdLXp9KaT/7kppUUzWI9eJIgbWt1OV1iJOYOy/iOAB+Pk6YTbNl0rwAOydtf1C 1PAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711136968; x=1711741768; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EQ7DBIXYnRLKJLYv8JBf91ZtttnplOpDVAnjNcCqIis=; b=Wx4mjTvmFd3BlpjM6FEJy+Qgn8zERdTAEw4sOhtPgSmQEV7/evAM0hAy58ZqxgSisT BDdRgosxixj4d6NYBsZFRZ3AKa/Mu4qZ4+PHHBDjcBROn5R7wA37my5zZwpMFR6uxtYD 8LvfRO6rZVfYoQA873dNBRjR3QnzEur68rx++i1dgnNyj2UqsrrmuswPoK4yhMCtaNMX F5ZHremAXx3151fZenWg+qcthaYSmNvKM/eJcUIdoRVC06yNKTSzSwqJ3va/llob3Yh7 GXJgt3wT3O6hYdc0F30PdKzeJUM12WBSCE+BESRyUt7SMu+XBYuXXB9yYNCoeBsMAjW/ smaA== X-Forwarded-Encrypted: i=1; AJvYcCVQFl14A4rI0cNejr19g/fZxbNZdr4dLC2HfiqFXiDBLbak+bxQrlLlLVXfL/pMVefuIzpdYJJgXdcIxrYpQseBP0AoPORs+UfBVqim X-Gm-Message-State: AOJu0YwVxuGytsI7DUJtEhKZc2jk3Hk42pDKWPw8LONV0XUQdNBuBDzm SdnyCOf1LqrinqroDBytMVtf+9XFTe29JHQZhPcsogKWD3waL3wo5ajZCcAktv1eG+Q2plNyFV9 KEoYCxv1+d+OqmZj7sujcQpcPt3B2+wu1iSY7 X-Received: by 2002:aa7:cd12:0:b0:56b:b464:d529 with SMTP id b18-20020aa7cd12000000b0056bb464d529mr479593edw.2.1711136968389; Fri, 22 Mar 2024 12:49:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20220825122726.20819-1-vincent.guittot@linaro.org> <20220825122726.20819-2-vincent.guittot@linaro.org> In-Reply-To: From: Josh Don Date: Fri, 22 Mar 2024 12:49:15 -0700 Message-ID: Subject: Re: [PATCH 1/4] sched/fair: make sure to try to detach at least one movable task To: Vincent Guittot Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, linux-kernel@vger.kernel.org, zhangqiao22@huawei.com Content-Type: text/plain; charset="UTF-8" > > Another idea then: what about separating the number of tasks we can > > move from the number of tasks we can search? You effectively want to > > keep the number of tasks that can be migrated small (nr_migrate), but > > be able to search deeper in the list for things to pull (a larger > > search_depth). > > That could be a solution indeed Cool, I'll try spinning up a patch for that then. Best, Josh