Received: by 2002:a05:7208:d055:b0:7f:33c7:ddb6 with SMTP id y21csp498059rba; Wed, 28 Feb 2024 10:06:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXBzz5iErlQdBMhnVz+6mRRKilT6GbU+/TmVWOhhZeZJDN3hk6uTa0VXum6s2d6/zq85dyUzm+g0C3FQsXPWd8utn6pyxOyMAE9crsT7w== X-Google-Smtp-Source: AGHT+IHTcCnCcCBxEeHU6DBr8FWATkG4X9U/Som+i/ECb4TCbkNVC9I9mtWfkI8RhpJ0B0yFENui X-Received: by 2002:a05:6358:2621:b0:178:be64:c3bb with SMTP id l33-20020a056358262100b00178be64c3bbmr6372rwc.14.1709143566438; Wed, 28 Feb 2024 10:06:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709143566; cv=pass; d=google.com; s=arc-20160816; b=jPaCWjx6BlN1neRB7Sm9c/AvkcyfZzYOH9YWXAL98gF5uC5yD7XOC5IYntfIxMfKfo DyxOkynIo1/R2vUetxZvDs4uy3b8vscCqXAJsS1fGRJhey3t9cx1x1kbo/Esh8X/3kdM +Rv4WoyN+I/A6J0PF4RptXHaQoXP5OHxm09H3H+iItn4/OUBkfaZO90vbluoDTCgxYKU d/dG33exltFfJDkv2cT41ls641RGH5Xnko2R8+CyIDzkqPqwMVRaXSXO/TEe+62n3ST/ Xa+CtSsmXKETrZsraJi+vbCvO3StRGKJDbMibpxXz+exnY0fqLSc50olh/B1Gzcj9KGT I+7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=M5RWLefMMZcrjC6ohvg7ZMSlCbzmM6eu4zL9kM45cas=; fh=oSRZH7iv0XCB9sCrTU56TBqGJ2Ubdu00QdJZSn3Hhz8=; b=XGo99ie1TKgicyW5A7LOZkMfNB3VqD27L2yc+oaxjolavFp+Zf920kRPGQcoqeRLqH J6t2AAUJnmxG5uJ38RyCCRQff6nhntFudQ6ek+7tFmqtjTvIjk+E6JSkcXxtQs+gRBtq JneTj6Ptfhmdo4fdJtD1gG2jyAxU3JyPEVDiZzHMQNeADUhfA8SUkdvmbMhBHYTkI9+V hIdlMh3MFZS4jzL+ZiO8ldI8/jOJu9cqD9+j+LPGkcKS6x6/w+O/zIvUwNyObRBh5K3h rqjV9PvrRcdS+WcQZDAdlWAhG1NOvisHPbJT7H+TRIdFFwNfyEne+SwpHXvDX9jYwKUd iP/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=07Nj3u52; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-85504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85504-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y19-20020ac87093000000b0042e773efd35si9424103qto.52.2024.02.28.10.06.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 10:06:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85504-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=@google.com header.s=20230601 header.b=07Nj3u52; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-85504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85504-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 E034F1C21B24 for ; Wed, 28 Feb 2024 18:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E067779B74; Wed, 28 Feb 2024 18:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="07Nj3u52" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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 6373379B62 for ; Wed, 28 Feb 2024 18:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709143523; cv=none; b=Nb0g5ayT2nMBRAJo5oCDr30ZSPZcq9MiDagP5Alc8vvb314LdistwDaCPOtakTsXXf8jrz3TQ4BppWmaG8e67uCp9wTLcui1U2vrJdkc5vBC24N09StAUftBuvMIBL2UKZ2mJZ95RwCr+ltXIOKVG/n8EiTGV0vCj+TWvHZQCHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709143523; c=relaxed/simple; bh=M5RWLefMMZcrjC6ohvg7ZMSlCbzmM6eu4zL9kM45cas=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=RSqyJoyqsoNWvVpcrtPwbKSMOS5yb1W4zx2Ab0zmUnBJVvWB+bc77qKJNipNDUxMYF5Cmymbr2IQaJckR3g8fuipE2qXoDFt8lQPuAITW5OBJuNdBdU64wYml1r5IsV9cUbTOEgDKQnpHPiE/qAAAvZSvJuisQsA3rfIArKAx94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=07Nj3u52; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dcc86086c9fso56635276.3 for ; Wed, 28 Feb 2024 10:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709143520; x=1709748320; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=M5RWLefMMZcrjC6ohvg7ZMSlCbzmM6eu4zL9kM45cas=; b=07Nj3u52kU5HkNbHmQi6GSJlFvm+hwSmH23kU9J3YIdBUAZcfVKU5HQ3RCYnYic0v6 QLRHfuCjI9k+jiAG3w+DoaSoumtOezIBDz1r8Kz8fHtyP7r7SZx31n43NzTdmop/PO2A 8mM/4NeVzeoWdN0ez7/q13ruSZDGpAfWv4C6Jt0Y0ZDccQI15hWg5epL5i0sGXGwRR2Z QyHgs217g8YnqC7+n46M+BhjmuNXp3pKxFMqFRf5dLwy6cELVZXPEu+Ogd7PlX5F4r/Y GY/qYMx/nxnzCGNBgbHCEaaY4EPWcJbvRoW29RCrocuMaX6hzZjZnlqLuzHzfEmrYQi9 uEOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709143520; x=1709748320; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M5RWLefMMZcrjC6ohvg7ZMSlCbzmM6eu4zL9kM45cas=; b=j6dFLHfXYcrMKGoqkA11LSwv+Ub8aDsCeoJ2rEqw1IrXwhPYmDnT1MzYI8JwAs+3qx +uuhqmcpb/F25zaJWVYoLSsOV8AhNzcF0DjNNutwDY1k+DkZ95wuuJfb4c0PiTo1RJ3p lAJNJc4AfS3bYbiq3yM50FhXkKSP09u9N9qM4+2vIIk6nSu7cRvF4HIlAonoHzasxv4r QxBwiGudNRjxc6ocHfAzDDrHzNFiOde+9/qPIBFNyyVMODdr8mFWgSzwmymmTC4SBjAP f9q8/67rJ4XK03giwktdgsADgHauHHgcxVMX+ifKB4pvcqiV3SoU4tAk7LYgdfGiH2Z2 7AsA== X-Forwarded-Encrypted: i=1; AJvYcCVOTPekXqWsxxBH5eYBHpJpZCfpx5A13zH3ZBd+YPJ/Dknk89co7vqttsG0OP0ejQl+wa9S5JO9GyklhLPUVqhc0uA55e/oR6m2dkkZ X-Gm-Message-State: AOJu0YzSzbjyxCu5PxgNDnsNu/Lk3TU/pT+GvOksYzTvPFXqxxUVabni omshZP7+Q4dZoF3ceT21T9iXE6Hf2KMyJNFX9R8r4Ay/x5hqBWh6glNzb6Bza8bBCYA8IwBAzv1 X2Rhvaf3jWgaE/fOGV4Gz/6tteUIhs9Wi2LSF X-Received: by 2002:a25:4687:0:b0:dc2:398b:fa08 with SMTP id t129-20020a254687000000b00dc2398bfa08mr21101yba.31.1709143520037; Wed, 28 Feb 2024 10:05:20 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240221194052.927623-1-surenb@google.com> <20240221194052.927623-15-surenb@google.com> <1287d17e-9f9e-49a4-8db7-cf3bbbb15d02@suse.cz> In-Reply-To: <1287d17e-9f9e-49a4-8db7-cf3bbbb15d02@suse.cz> From: Suren Baghdasaryan Date: Wed, 28 Feb 2024 18:05:08 +0000 Message-ID: Subject: Re: [PATCH v4 14/36] lib: add allocation tagging support for memory allocation profiling To: Vlastimil Babka Cc: akpm@linux-foundation.org, kent.overstreet@linux.dev, mhocko@suse.com, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, penguin-kernel@i-love.sakura.ne.jp, 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, keescook@chromium.org, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 8:29=E2=80=AFAM Vlastimil Babka wr= ote: > > On 2/21/24 20:40, Suren Baghdasaryan wrote: > > > > +static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes) > > +{ > > + __alloc_tag_sub(ref, bytes); > > +} > > + > > +static inline void alloc_tag_sub_noalloc(union codetag_ref *ref, size_= t bytes) > > +{ > > + __alloc_tag_sub(ref, bytes); > > +} > > + > > Nit: just notice these are now the same and maybe you could just drop bot= h > wrappers and rename __alloc_tag_sub to alloc_tag_sub? Ack. > > -- > To unsubscribe from this group and stop receiving emails from it, send an= email to kernel-team+unsubscribe@android.com. >