Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp940513lqj; Mon, 3 Jun 2024 05:52:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQJ4PjPpL0np91fPua4Ca9cwtFcEvNrveJVN/dakbVuhhOX5Pntoiz7PUVcewfnSEnJUULcKF9DjOEp/oYhxaYX+5yCzBz8qimcD7Wmg== X-Google-Smtp-Source: AGHT+IHQhJXrRY/WE40/8FIB6vPIYXnyjEgc9uwJOkzmD7NanKB3pWnjOjYldyndMNNM4KEp5oKx X-Received: by 2002:a05:6a00:3906:b0:6ea:74d4:a01c with SMTP id d2e1a72fcca58-70247804325mr10489042b3a.14.1717419151492; Mon, 03 Jun 2024 05:52:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717419151; cv=pass; d=google.com; s=arc-20160816; b=aOEkvpHJTliPEEj7ZdcFOcyeROZNrp6tgkkwvmh7OpADpikeV5o/Txdr+YUiuDzLrI tLNDRu9skneM5ZA/odG8mzzjglkwQc2uwRFe1t1NI0829+2ugRoVsJosOfR9gfHgCJG4 +RmU/tKrlx5NfZ6xgUSTB+1o5hpXVMMsFQ5mlpIs8v3dNXH++lz8eLjHybbYwrnIvmWA odtBAQiOKsJFGvp1YWmDFc3tPqS1cnuaAEv3qPDoRbGKTgUa9SJ9drz/dIawbt2JL338 AymfUeHVBn4j3ZJ82Pg2igQmNsNIEWTYe+UYjV/L0+ovDgj06W/88GPlwtfAHodxtrWW jZpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zINx7zgXaLxiTnQyIJHNsLg+DAsyZYoDEk1K9wuFt3o=; fh=kY5sJNvn29qhEh2SatEVpXE2cTkcQ8AnU+xu9Bnn8Ic=; b=fafDQGYIg4TlnXS+A4miBSglyHejF15Ltoypfft8Tuz6d+IBa5lEZZj6XwK1xgrUI4 9x3PVX36hPxlXQ9NqNNEoOG1QxyA/QwLdMGwdgrShwqbLYpipvc2K/ANZZgs3oWYu+xZ I4uw1+uktopDcRnoUoUz2HuTGEv4geLHN3ot4wIb3iutygU+zO20lQLAXn72rttK2/oa DKV22mRoIJ20BnV8VamsYWmfwb0lkQMC8e5A2/DbA9u1r/XLquTdmx5SX0QLeUi9xVAR h91Ja40em4TpE3uDcET2N/12hnxYwbxPVtppjmRzcyhWYyyy9HkjBQAfMKmWsMchm40i Wvmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="As/kBY4B"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-199132-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242d5ed91si6547737b3a.377.2024.06.03.05.52.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 05:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199132-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="As/kBY4B"; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-199132-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199132-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6E77D28B3FD for ; Mon, 3 Jun 2024 12:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E6C312C484; Mon, 3 Jun 2024 12:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="As/kBY4B" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D3947BAE5 for ; Mon, 3 Jun 2024 12:50:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717419030; cv=none; b=jAfgOlej19Yh8o/KmDoYht5TB3XWGX4brJWyWXTm8DqwBcCsUeSFNtjc4p5m/dqMAGmnS/au4wcMljwUkcRL/+LDf4Mr9I4wIAECj4lTqUIibWh20e9YWfv32jj6cBnORktoEXCkgz99w+vGbTQQV76hRuolA/O3Gc4BFr30YEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717419030; c=relaxed/simple; bh=eeNvZtmXaiAgrzLPlBYhjIru0uYXAtMNCSwxO2AEPQc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SxVboLVunXWbPD+M7Yr2azrME/Idj52ZeNppF92c98KPrUkbbacdhMfdzEMaMzvOkiErcUPbVo6jI5q/uWXlD14wUEhMTDsX2VLS88+e2D4tGwx3AUirIIXl+3/CV9HHszxfx6EeCe4/8MweJHo+HFHJHDyaGPndpTim1LCGum8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=As/kBY4B; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: mingo@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717419026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zINx7zgXaLxiTnQyIJHNsLg+DAsyZYoDEk1K9wuFt3o=; b=As/kBY4Bgyhe2MJHQQOU/1edFw6S+SDK6xnpELfhvTRXGuGPoGXa38CCt/7m+wTH7ylgNH ZswtpVej3v42+e2NsXipdt7ZOEHryhAxGJ1M3iA4mKsmFNkvrlbE3jp2zLCs3QUkXPgihJ UfEG6kRRUuSmfkAh51PAJyavHkZlPtw= X-Envelope-To: peterz@infradead.org X-Envelope-To: juri.lelli@redhat.com X-Envelope-To: vincent.guittot@linaro.org X-Envelope-To: dietmar.eggemann@arm.com X-Envelope-To: rostedt@goodmis.org X-Envelope-To: bsegall@google.com X-Envelope-To: mgorman@suse.de X-Envelope-To: bristot@redhat.com X-Envelope-To: vschneid@redhat.com X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: yajun.deng@linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yajun Deng To: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com Cc: linux-kernel@vger.kernel.org, Yajun Deng Subject: [PATCH 0/2] sched/rt: Move sched_rt_entity::back to CONFIG_RT_GROUP_SCHED Date: Mon, 3 Jun 2024 20:50:00 +0800 Message-Id: <20240603125002.3086-1-yajun.deng@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT The member back in struct sched_rt_entity only related to RT_GROUP_SCHED, it should not place out of RT_GROUP_SCHED, move back to RT_GROUP_SCHED. It will save a few bytes. Yajun Deng (2): sched/rt: Use 'back' only if CONFIG_RT_GROUP_SCHED is enabled sched/headers: Move sched_rt_entity::back to under the CONFIG_RT_GROUP_SCHED block include/linux/sched.h | 2 +- kernel/sched/rt.c | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) -- 2.25.1