From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EF9EC07E9D for ; Tue, 27 Sep 2022 11:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbiI0LxG (ORCPT ); Tue, 27 Sep 2022 07:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231969AbiI0Lwt (ORCPT ); Tue, 27 Sep 2022 07:52:49 -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 BD341CC8C9 for ; Tue, 27 Sep 2022 04:52:47 -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=kkS1XG+jcb2igDzAdk6T5v+19r8hU1AIS9rrrB4Pp8U=; b=mEcKBdl2sncLzoq06ozODMBStb xgZhUQJJF7C+AiaFydY/XajBN5n12ns+YTqXRJNWnPCg1D1YnTRuOes9z0xE5+CrOM9VR2HNM1bDN 1VFnwiANUsvelupx9a9ts5Wy/3DGX+y7ucAnncVNpla+xCcQGl2T+u8mRNdfu6MnWedccb7lOjdl7 Vqe7g30zfdypQtolxwNhOtF8fjeSlZXkZGp8hrm0cayA1bBiFhc9cyLqCYx+XLllCTm7cFS5izFNQ a87cIHzAIgM70Fp0trg66Uja/qnhf9E7YxHVbNeK+vco9nCFVqTM7OQp/cH6Q5UqTUs744I4CxM8E 22JtfyKQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1od98T-00GHLA-CF; Tue, 27 Sep 2022 11:52:26 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id C8724300205; Tue, 27 Sep 2022 13:52:24 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8269A2BDDA85E; Tue, 27 Sep 2022 13:52:24 +0200 (CEST) Date: Tue, 27 Sep 2022 13:52:24 +0200 From: Peter Zijlstra To: Ricardo Neri Cc: Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , x86@kernel.org, linux-kernel@vger.kernel.org, "Tim C . Chen" Subject: Re: [RFC PATCH 18/23] sched/task_struct: Add helpers for task classification Message-ID: References: <20220909231205.14009-1-ricardo.neri-calderon@linux.intel.com> <20220909231205.14009-19-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909231205.14009-19-ricardo.neri-calderon@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 09, 2022 at 04:12:00PM -0700, Ricardo Neri wrote: > #ifdef CONFIG_SCHED_TASK_CLASSES > short class; > + short class_candidate; > + char class_debounce_counter; > #endif That's 5 bytes; is that really needed? 4 would be so much better :-)