Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2716064rdb; Mon, 12 Feb 2024 14:16:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWtz2706to/1It2YxB7Xu2jHj5h/kMdZFLJfEkJTs5B0H5GufG1KS2+IYyzSaXGMDNyg2gCNLEvlVoyVJAJ0XvHEmyLQ8Vtn4d18ORJAA== X-Google-Smtp-Source: AGHT+IEshPSQuCOCYybW4kXBtbg6KtaKbnZWiG/nP9ItleDdADwI48jrZdLe49gloyxcQTt+o1Zh X-Received: by 2002:a0c:dd14:0:b0:68c:890e:3f3a with SMTP id u20-20020a0cdd14000000b0068c890e3f3amr7358456qvk.35.1707776202343; Mon, 12 Feb 2024 14:16:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707776202; cv=pass; d=google.com; s=arc-20160816; b=I9igVcX4c53arl2toiCW6kgP93GEhKYoYLgIg2EJnmigI6GfrGPw7A9KDiNnxFt1oQ LUX6xu8RTELjvj3Xky+fO1fcbEqXfPI30RALG2E/9j+ee/NLkten4qWLwEakxd7mJrGh I0MhD3bW1t8wM3RturhYTBaxbw5GGFc/Hv24IHrFcmW/44+ArSRHtJTzSD+UNFnxjvZi Rm0FHTXdhiGq2LZuedUtcHAkZJX/aGGkIOPYLkgntG6NryUBJy00UUrZm/DjLaKKitfD vrOKZ2aURVA8PPag3ZJ9InSBJGkmX9tNpFyWga3AAUksD3VDqGXnDN9DYNmdUTWIDWqH 4bNw== 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=Vrm2VgfWvTQwh4Ccc8xLBpbBJbaIpSksAyHKgKxPeQ0=; fh=QAA1Y9DJqBkuaPFkED86H3ogGSqjmBKMNXDlu4+bkLI=; b=gTXL7CC7/vQkSDDkH6xgPsOWcFwa7XkqIRG8a6RTBAITnFgzc0iswWtqzC6i4YY1XE QDyYkbpea1g27xxrOzF377C+iSOEcLY3zPguYC49kV1JslTVdo9vijGYUS/iIWnNtmhZ 1dOF4M7PR7q6oTloFue7Tpog4WS4K0d9xQcoOxO/8z74uFDki9nixW8PCm2JDeizc3K5 266SeCb58B8lrY7hfgeusU8iCXmC5J8KGhDHl212ozwrr9whe2ix3HkeYAJKn40r4BMi Uu1GCQiNiEHs7vsjPwb+dVO7mUcd3o8DFGSWNUqlEvQUMp6C7SrJrXQsC7yF9LbkgMok SG5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kmLPptxY; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-62468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62468-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=2; AJvYcCUXya+IsMiWQmAFbkaTPIgxLN2rpJuARFZ9huJ7xtL5Y1ZgUP/b7V7bjHjgOranUDgiiaonT80kVQDj1rP7aI40iDFe17GZoKR54qISWg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g11-20020a0562140acb00b0068c9dbda5bcsi1384292qvi.389.2024.02.12.14.16.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:16:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kmLPptxY; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-62468-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62468-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1DAB11C21B17 for ; Mon, 12 Feb 2024 22:16:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 103FC4F5EA; Mon, 12 Feb 2024 22:15:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="kmLPptxY" Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AB2C4E1D2 for ; Mon, 12 Feb 2024 22:15:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707776148; cv=none; b=eMXytpzm2ZRn7OGT0MUKCUEgvIAF0upaANug7Z+8a9Xdm4RdXT6GLYroEN/eFek35C+J3puIu6BTUdg9s0XMLEzg7Tv0IRtJ80qyAO0eCefoTxv70KAlrfoHJcteGCGfAbkgchnXaXrGLfXfpXtPTfhmHlNOqkDXLPq2XWaTr3I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707776148; c=relaxed/simple; bh=CZGD9Yki2FLQHsFid9OfPienmBqYjhNh+fd/Uf+R608=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bKnQW8vLIPTrSUCV17ZK/703b2o1Yieuhqpz+f1JYYtQBHsb8vBrAUTF5mVi80/vm9gpoHTFVod20x7MVL1k+42+ccSHu/ARb20aB5zixxXQuPi7keM1W0qux7uizTzciK5LN7CJVDXaI8JsvXRNfVIdlkLJhzGK/ewo2195ZNI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=kmLPptxY; arc=none smtp.client-ip=209.85.166.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-363ca193a3aso11016625ab.0 for ; Mon, 12 Feb 2024 14:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707776145; x=1708380945; 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=Vrm2VgfWvTQwh4Ccc8xLBpbBJbaIpSksAyHKgKxPeQ0=; b=kmLPptxYdBwYxwpb60ki+XnK2fQdCg786cIAoBMKDs1dkxmXXEFlH7jY9t9bZjSy84 XUUx8HflKy8Qknk6+2Nrxy5JPrq6z5Swu+Tscwp6YaykgGAU9pInkaQlyxjqY2spPsvd Oe/1qIv29tawL62wHhQIfc3I06DOR2/qKi28c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707776145; x=1708380945; 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=Vrm2VgfWvTQwh4Ccc8xLBpbBJbaIpSksAyHKgKxPeQ0=; b=TkVg0ecOI5yYl/CPPIEjjd94e3IUofhujr4hRy0T5MaPQjWOc/FGLh8JUHn7VqNJEt PmmmcENXhsf1uMav++6tOAggMHwKZTSKULeBeMYJUs9fET5NCqXHg2CguVzcOTahtiff XAt8BgTdh4HehLYZStpI8Lo03kYGVrTdTqjIQKaOKup/nQQ3vfKqu/ZpCmuT7xgp/SUN zQ4+lfnYvmw+VGMc0TS3dQK3p/lAVRMgYW+1Zsp0jA9qX53s3hvJPJ5gIVcoCn03Ga3w Eb6jFkEHe8cWQeRN39Ewylul1IoBcTGvuokxqexfZbFLKVtwT1P+YU4p+hg39H5gP41m mL3g== X-Forwarded-Encrypted: i=1; AJvYcCX6jz/8ReyRB8CUdJ3QYsQB12K+sIcQR/zHs7oPdy6d9QzZqwyY615S5R8+/9JabYy5nJauH43lzSEZJLTReL2irNbKdunQx3bhvePK X-Gm-Message-State: AOJu0YzhwMcCOP5eS2GBBA4Hwivz+iyyXKpY84eYWF0eGywzWlPrl9xi 1WA1q3/ZHTyOPCzC+mIjrKAlkqAjl5/lVcTe96yeKVh7dlcFzD+W/KzDqpoyBA== X-Received: by 2002:a05:6e02:13e4:b0:364:1b8f:8437 with SMTP id w4-20020a056e0213e400b003641b8f8437mr30680ilj.12.1707776145739; Mon, 12 Feb 2024 14:15:45 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX8ALbNXelFqqBGCaho861sYQgXUcXf0rjGjPKnZWFceKsuueaMlNdDZZuJ5n3oJ72fVAK2LgYnstRInl9LO8JcpnpUVHfIjXWFzFz6v8CK1bATfMoV04nj8KbbqG0avwQVq5yTJDt7k/Lzbl7XSosyzumPDx6qt3M8puz8zphCkfnvGzTtvU9umgXK3EoniNVIRAAHMnR+sdlqZFj6l8eS+hsMVSAke/oKFq3iNU48oI0Dx/i+p9mgm5VLWC7ZMcGiFc0wKFQ/nvkiVq9rQwPTgyT5dptfGqJlgF2pEOGxr10d/Sjn4QdlIIyb9KkNgZTrIKIkGpmQXZLzR+O4eHe2rZoB3d5oMXi2ikczeWPxPXDuE8H2SNmWu8IhRcpROBGG9Sw0IKLu8IxmYL4rjcnnpF17dBvKLyhUWyyMt6C1yMWlINcVVpell4fva0Jlow1qCr8G9fkWBed3FiMS/wzqxf5EJeR8xQN+IISht0MU2XWA1QUpPHibGG+YTFDQOaqVzVZj38+NYZeFLJ+ueolP/VRTmhBpjxciMS44sjGJnkgiWgPU2cT6ha1FRWmh9NSbJXdpQgk8PGHDTeFBJLGACQFkgWJ+bcUn+yOdkc4n3Chs4tbIw/qJg9Veuwg9I7Xf6tVGOPp2+oRF4D5wZsciaZt7axcDu5BLDgJ7oQooWMc0eWYjGvZniJSkFaedjQDoHzKkGLKTjw5JRvWVYYTv23lxe6aLcQ/x9WezR4CTZkPOrPmSPw== Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id x66-20020a636345000000b005dc191a1599sm961714pgb.1.2024.02.12.14.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:15:45 -0800 (PST) Date: Mon, 12 Feb 2024 14:15:44 -0800 From: Kees Cook To: Suren Baghdasaryan Cc: akpm@linux-foundation.org, kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH v3 09/35] slab: objext: introduce objext_flags as extension to page_memcg_data_flags Message-ID: <202402121415.4E74908@keescook> References: <20240212213922.783301-1-surenb@google.com> <20240212213922.783301-10-surenb@google.com> 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: <20240212213922.783301-10-surenb@google.com> On Mon, Feb 12, 2024 at 01:38:55PM -0800, Suren Baghdasaryan wrote: > Introduce objext_flags to store additional objext flags unrelated to memcg. > > Signed-off-by: Suren Baghdasaryan Reviewed-by: Kees Cook -- Kees Cook