From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 7B0608C01 for ; Tue, 14 Nov 2023 04:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="G2/1J18V" Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91BEB11C for ; Mon, 13 Nov 2023 20:44:12 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6bd0e1b1890so4043701b3a.3 for ; Mon, 13 Nov 2023 20:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699937052; x=1700541852; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6ONkBbb+HnFKyr5bwkUFFQAkj5jFzRIolELIrPxQNcw=; b=G2/1J18VoeNINnJJxXdPWwRQev9MzvoAyKfB5ahpNtbzkSu3gKkNMgOh/UmNYlxkMj LEFi7aE5u/qG2NRFsHcMt/bwWbVLrPCnpstIUAFvUDiarg7ieA5z9y+kPB06CfjacuS/ UI0PHLnMTRu4X/DEEH8g7wAB97Kk9Pimhjxi8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699937052; x=1700541852; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6ONkBbb+HnFKyr5bwkUFFQAkj5jFzRIolELIrPxQNcw=; b=qxblN5BSaWua+qu6Q64d0gI8zMHRxVk3otXKzyEvadjMY84RFZRnhnEIX6Xc0Oazvm yik4hF38UOxqJvKLREfoKtwAYWpN2UdT1M8GybAWgQepIufNhw6IpdrPEmZXQGXNN4lt y0ddVZwQRuuxyUnzQQjdH/Vvso/PDLFA3mJSV+vo5/H5TKxPRU0XoO0w5lPMyzUiZqn8 5ikr7r/vuPyaaIWx3ZYuncQlU3hjIrBiRHe5EvcuezuqIGApMWWTwewhe9MUr18IlMu2 gx0CWpbUHsP931ONZajEUI6bKtPBOq5S2A45lohRrYctQHirlGvc+Sr0abg46sF8949r ECRg== X-Gm-Message-State: AOJu0Yx9EZeLmFQ/7DlJu3/2Grj0xTJARFy68MjDVyTD9c/rGJ7NF9Zk 5mqfQcqSPsmIHuRn03K6qFswew== X-Google-Smtp-Source: AGHT+IEvf5pYK6DfVdWq7oR/LeTR2EzKGTFOoIWwPF4qXeh10Ft7VrEO5A5ARaNGpev0/vRNIRBDhw== X-Received: by 2002:a05:6a00:3a1f:b0:6c6:9b11:f718 with SMTP id fj31-20020a056a003a1f00b006c69b11f718mr6590354pfb.4.1699937052092; Mon, 13 Nov 2023 20:44:12 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id b22-20020aa78116000000b006be5e537b6csm389373pfi.63.2023.11.13.20.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 20:44:11 -0800 (PST) Date: Mon, 13 Nov 2023 20:44:11 -0800 From: Kees Cook To: Vlastimil Babka Cc: David Rientjes , Christoph Lameter , Pekka Enberg , Joonsoo Kim , Andrew Morton , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Marco Elver , Johannes Weiner , Michal Hocko , Shakeel Butt , Muchun Song , kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH 13/20] mm/slab: move memcg related functions from slab.h to slub.c Message-ID: <202311132044.C7D682723@keescook> References: <20231113191340.17482-22-vbabka@suse.cz> <20231113191340.17482-35-vbabka@suse.cz> Precedence: bulk X-Mailing-List: cgroups@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: <20231113191340.17482-35-vbabka@suse.cz> On Mon, Nov 13, 2023 at 08:13:54PM +0100, Vlastimil Babka wrote: > We don't share those between SLAB and SLUB anymore, so most memcg > related functions can be moved to slub.c proper. > > Signed-off-by: Vlastimil Babka Reviewed-by: Kees Cook -- Kees Cook