Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp166162pxf; Thu, 25 Mar 2021 00:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKFdBWC3Bo7b+NScSYm/7xKdt4/fMWs1h34ztF3Kv9wNE4NT3aHA2Bym4X3ZTfax20n1Kq X-Received: by 2002:a17:906:58d6:: with SMTP id e22mr7676471ejs.112.1616658603695; Thu, 25 Mar 2021 00:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616658603; cv=none; d=google.com; s=arc-20160816; b=CfjJ+5KJfv+C+096ByPiEacrVVE2khaypAUVPxYfPVQ08M7I/eO6hf/7GVev+Xqqr6 M4KNjPrjfRSBEimGZEftdBd0k4bihtpx5f4oieJc0oCCiAG4FBHTEVWRuOZkMyPqGLIY AcnjyGnrYt3T8JV9ysKsbBmxuGBtiZI5Vk+RA0PLl6ymHJI1Ym8a/F8/Imm7eS1AYYWO D0NZ7VY3/szGLQWbEOybtx1J2LtB1mC07NiQzzLyUUQQQ1pZZWzhZPEYDLNIptetlkem zcTEqBPOwjiATTDMMH21bSMycuuTefa0nS8iaAbIqLXY+h/7Lc4P9u/ploc4LBxAarrx vHiA== 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=duaBMLbyWpWakK+L0rw3VWpqillSBc+LSq9CrnLyyZ0=; b=zNYCp/+YAlIRf48hnJ5nFFOPcUWcd9BST4LrviZhHAyWKfwxdXaVSvQGdeSRPcFxw4 SwjT9WGeUx8h1IB/4qNP3s/Y93N7/tplsEXU1F3S0bwPIxevpMll+1QuRupksEmRyaY0 gjmUHDg7p70qod+uErosHyG8LKcVQIQcE3uItfNhzq/KxvMi3rnZa3YVNM4wahlHBryj e0BUfJXT8NKwAjBRKoc7ZlLro+Q5m/qKF6mVdWOTwCNgJViwPIaX/Lg2oG3+yjMZW+Qa KurkvFXJuz06EGTQbvRDcNLOMLqJajZb8QO5Jf0Sc/7jYQzCj6JjkaUtZqlF4lf9NP2M bsYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=hJ590nr8; 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 qn25si3618977ejb.22.2021.03.25.00.49.40; Thu, 25 Mar 2021 00:50:03 -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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=hJ590nr8; 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 S229719AbhCYHsO (ORCPT + 99 others); Thu, 25 Mar 2021 03:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbhCYHsN (ORCPT ); Thu, 25 Mar 2021 03:48:13 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 340BFC06175F for ; Thu, 25 Mar 2021 00:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=duaBMLbyWpWakK+L0rw3VWpqillSBc+LSq9CrnLyyZ0=; b=hJ590nr8fcO505oxO+EhXDiDhM U3OanJgwH08mZYvmLtOv4FDs7JXm3oiATYaDkfaGHjjC5lx6acLRyJQZRd6M9acWVn+a8eHe/RI5h 2bLfSb+TI4KQDZGprJc4JNNjDpb93dU8OqJrzrm8cnNAVa06fS90HeKwiA6OwAd6yWS7G35X3/gAZ HcdfRho5u+qnXAMyw3KFRsT4RR8jFfNjpipIasWACZ8ihJw29zZz8N8Fv6Uk6qi35ZnBvKSbNJSKm ulpOWTYdDplF12igFJR+K8YpNISPuSwbpq4HZ5hu4uTay0KSq7COWm0cvdSm9Ko1nA8/yMo6Lt/wS I/i9U/SQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lPKir-000oiH-Op; Thu, 25 Mar 2021 07:48:07 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1A2BE301A7A; Thu, 25 Mar 2021 08:48:05 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 014432C67B295; Thu, 25 Mar 2021 08:48:04 +0100 (CET) Date: Thu, 25 Mar 2021 08:48:04 +0100 From: Peter Zijlstra To: Rasmus Villemoes Cc: Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] sched: stop using magic values in sched_dynamic_mode Message-ID: References: <20210325004515.531631-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210325004515.531631-1-linux@rasmusvillemoes.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 25, 2021 at 01:45:14AM +0100, Rasmus Villemoes wrote: > Use the enum names which are also what is used in the switch() in > sched_dynamic_update(). > > Signed-off-by: Rasmus Villemoes Thanks for both!