Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp885306lqh; Fri, 31 May 2024 23:52:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXArheDUFxk1X5/I9025jpxswZvoOqSTnoI+9KKwqqQwShYO/6Rzb+yC0R1EO79QOKFj0j/fJmYEUqvgdmuq4tYNPajPa+enC738nBt4A== X-Google-Smtp-Source: AGHT+IFpHGZDFfasHC5gTKx00G4P/j5SCNld6g7ULj162Rm+0DQx5VSZsz5m3km3fPsuphkyGwKP X-Received: by 2002:a17:902:ccc1:b0:1f4:7a60:367f with SMTP id d9443c01a7336-1f637080f7emr53431815ad.37.1717224741849; Fri, 31 May 2024 23:52:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717224741; cv=pass; d=google.com; s=arc-20160816; b=HRjq1c+mL4VZNsTy5TApRndjgVIrGNRxma5EzjweVCLmQ9e/xJgeViCLPjxhy8FVYX Wu4wQgEhutVroASlZzW9ax0yy9ZYJ4XFF89KK1csdQ4ClMcQ5kHHMvM1bKmoL2qXVPpL ompnQjelIphrBjMmg+Y+BoLqo2DSP7GThzJrGM4t9hsP+NnmL60k2npdDWh196ZhOE6X 8ElWrvSePIDO9JGppYehUFZCKlCrJcS9FU8/S/PJT8qs8jmcwcU88wPFYiFWimAlOtTt t/5VbL+bAezMdW25isV03AC80MOG0pOYr7AOK9cYixjmQ24h0z6N77GG281OX4m+6Or8 8jhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=36nPljF0mtO/WeP9Ads+GsMlYOhzpHvpBAZMAFqLFVk=; fh=V6GbPCat9tMLabJCBxD7jX0Vrhw7hVwYdPayKl4sW6w=; b=VSsvJQHu8JuRPuBfPf64G6Fg3saIOybrsjcAPW0kz2Q/eVZ7MiQcXCzxTyBCLKmwHe JtobtOuhkazhpHJZlDIulLqWb9Wzy1dKSQjvsMEW8sMYXAymdI9nQf7BbMF5Vtj6uTP8 2kDD4F+Kb1poiUQ7AMdGHf7qHCS6BwmoyJzTPOsUDIWzdykpNbX8afQ792l0yXCtpRA2 tXxiZ20R/tjhqlHcb2k4DEhvOvUdKgYdeaG87inlVkyBix2LHY+7DYXha27phCQhzZuK E7Qy+APmBgKjTj/g0c+5a2RU3JGiuUJtDzGDHWydgn6kqQkFxtMkp8/uO/vdFY6BsecC J8dw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=AOCafK+u; 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-197743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197743-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 d9443c01a7336-1f6323dd5edsi28606815ad.300.2024.05.31.23.52.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 23:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197743-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=AOCafK+u; 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-197743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197743-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 538772845EF for ; Sat, 1 Jun 2024 06:52:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C8031400A; Sat, 1 Jun 2024 06:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="AOCafK+u" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (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 B40913D8E for ; Sat, 1 Jun 2024 06:52:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717224722; cv=none; b=GfmUNAlEVap0cjB6axDv/JuEV6sEgezUbvXbVY0igD6zgcpqlAI7cgvBZEyqguOVA5lD1W+Nc0HWtFDzZz9d+czPfqVCkpPqoz5Zum1wkvDdeewo9qBjaUWQfSEsGkuz/HxSvY5bpw+1NEvUO/ixvalqKvGz3eZ1UIgFtrctrlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717224722; c=relaxed/simple; bh=z+NVkSF9/h++oNTKg3hPYtqpKqf4qsyHlrFT3WOqluM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bJg7gR0UIAIISpyVPpAGN7N12/Vl+0Tb0TtCO2uM84RlgpOIpH5w+5zaK54o9qSI8MdUg8q0FMvsdEVKdd7d1s65qykNZCSyPr5u79Cyyk0kn2JNM9NtkIXuMuS9z7Vux4b5YeSo1t/xASsvj/degPBPV8SJGRg4ev3YN6t5aF8= 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=AOCafK+u; arc=none smtp.client-ip=95.215.58.176 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: roman.gushchin@linux.dev DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1717224719; h=from:from:reply-to:subject:subject: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=36nPljF0mtO/WeP9Ads+GsMlYOhzpHvpBAZMAFqLFVk=; b=AOCafK+uQ/lGv4NvvRH/KxdbxT5mSypYbjl3K9qtZe30PhRixB9L4TZ0cd+9KnZ/sQNZ5s egRnqURUAjCEka+MjUBcutcerM1aZWjJtd7Ks3v/YoMruwqoGOCGj+bN0l/4vvQ3qfHi+9 LnDbmTPSOXsQScLJE7X6wqQ1lgzs6Tc= X-Envelope-To: akpm@linux-foundation.org X-Envelope-To: muchun.song@linux.dev X-Envelope-To: hannes@cmpxchg.org X-Envelope-To: mhocko@kernel.org X-Envelope-To: willy@infradead.org X-Envelope-To: linux-mm@kvack.org X-Envelope-To: linux-kernel@vger.kernel.org Date: Fri, 31 May 2024 23:51:55 -0700 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Roman Gushchin Cc: Andrew Morton , Muchun Song , Johannes Weiner , Michal Hocko , Matthew Wilcox , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 13/14] mm: memcg: put cgroup v1-related members of task_struct under config option Message-ID: References: <20240528202101.3099300-1-roman.gushchin@linux.dev> <20240528214435.3125304-1-roman.gushchin@linux.dev> <20240528214435.3125304-4-roman.gushchin@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240528214435.3125304-4-roman.gushchin@linux.dev> X-Migadu-Flow: FLOW_OUT On Tue, May 28, 2024 at 02:44:34PM GMT, Roman Gushchin wrote: > Guard cgroup v1-related members of task_struct under the CONFIG_MEMCG_V1 > config option, so that users who adopted cgroup v2 don't have to waste > the memory for fields which are never accessed. > > Signed-off-by: Roman Gushchin Acked-by: Shakeel Butt