Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1038238lqt; Tue, 19 Mar 2024 10:52:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWyI0zCW4b7iy721V1gS41Hy+Y0KIyBlWfOVHqd6ShT55BRSEv1Pngk84mttbiMBxHI1p0HjMQXjFVNuATtbFjvfZQjaQU27WN6EpmtpA== X-Google-Smtp-Source: AGHT+IEvAH5gQ13PglRfZ61LqnRBG1DmR32sGirkX7OuUX8LaxGLIvdsXjv1LRwBtWjIOhyAAODK X-Received: by 2002:a67:e88d:0:b0:474:d37c:874d with SMTP id x13-20020a67e88d000000b00474d37c874dmr13156046vsn.8.1710870749252; Tue, 19 Mar 2024 10:52:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710870749; cv=pass; d=google.com; s=arc-20160816; b=SUMiJA0/SA9fQc/bDAtDp5jJE6pSKYVRpvZbIQcBo6S5dee/40TFOI+omcXeFT5FH6 sFT4mfFSDiyit+SoWDIzrpL5vJdKNnQvzw/rkD9GGWiq+fhXvyTN0sVl2Fb3pTci7cvw n55YQv10nERMJnDiBC7mRclhNUyNV4Brki17h9HymXYLcZwga2O7G2/ZdDMM5IRrkAaB cypvzxM088VNwV2D946LydPr/onEUZdBjj7TOhuaEU4hvqnn+ISXcAUemO39Cc56Zn9e nMe2lw4rmLJ2upHYxmHp8dpIkfl/Wjmvu2uucr3gRkLsz+DjNU46sVTfsQOC0mm5I67r Nw8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=jsDdhGB1s86A5H2uDtk1GYBCObHAe8Bc+RYw8C3RVzY=; fh=SFNcyDd4lMyF5xWzFPI3NGBeDs+HBfzV/jscqxb9sr4=; b=YEW2cqwfaPZfo7cU9gyZbWGpI8+xT0vHobz0liN9OWnXWVw5G4Ykq0YFrJn9o+s+s9 +TD2/Z4cyV/x9fakRk3EfDT86yvGibXNlvW5iH7Xj/e/kPiLgwFQd7hK5x5+sP4fhE24 qkqaYCqW+4/VuQ7KK8qtZrv+6GZkpysy8q5Tep1IqnPF+slTNMQj/TS7rpW3sPC5TBic FXYiRrBlUXZ07Dzk7qwo/AvTLwKDMsg7pm9Iz0NAhGXmQx2j5BwJ/yjjXjfMTcQ70Yow Kr8FPILzEhhZ1e+HhldJq1vHRKBUdzucWBqDT+FOZaDs+f/o0ZqJDoFEHzzV6aDTV69e dPlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Yb0Yt7i4; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-107949-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107949-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kk5-20020a056214508500b0068cc3b0f1e4si10806305qvb.411.2024.03.19.10.52.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 10:52:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107949-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Yb0Yt7i4; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-107949-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107949-linux.lists.archive=gmail.com@vger.kernel.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 F2E4F1C20C82 for ; Tue, 19 Mar 2024 17:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 265F21804A; Tue, 19 Mar 2024 17:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Yb0Yt7i4" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 0EC892C183 for ; Tue, 19 Mar 2024 17:52:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710870743; cv=none; b=lWXS3RZ1jXQvsoT8WVXEKH9BjLkA8dIl+V0Ajd0SigRoRRgGh3EUiUGR9Vuh11ER6gSoePbM7moehuUWQy6oXejO99RIpPcS3mPeqSsuX7ITneVf2VVg/W/KQOlPiJmOOHxTPyUjrzPHDfrHIT3n2bxjzEX4+4PchDf+ttaGXfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710870743; c=relaxed/simple; bh=/pA34yoKPuJnozUaZdll/pdd0Gh+2G414uWIjd3Nv+w=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qW+Mh1cRHyp/83GkuSynw6ZN5QVb+c1Y0upaAMVcw/vhuPz0SzMdmKr6D3TlpF7/6ZFms+ofk4l1wxowWdMxRurxo5t/Wb8j3zCn+H76NRXzwHefQ1pRGdpTXSPOc4KlECB5MbT+Bg+r3x6LiSc/07W0N460KYOYM1QC30XopNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Yb0Yt7i4; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-56a0c0a7ebcso3194911a12.1 for ; Tue, 19 Mar 2024 10:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1710870739; x=1711475539; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jsDdhGB1s86A5H2uDtk1GYBCObHAe8Bc+RYw8C3RVzY=; b=Yb0Yt7i4otq301JYzEqvON8bmS1ZG6HclZQEwwHY5jF2Rt/9ryolUhHhN38haWkL+h EKbb5jRCvH0QDJzbRxMDvPZlkPVCUfr46hC1l+dZYKEZTZ5if9S8QVPb1/V9iP63Wi2h Bx6nyfmHrRq32T0CvUKknMaDWB2rGQPcnGygc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710870739; x=1711475539; h=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=jsDdhGB1s86A5H2uDtk1GYBCObHAe8Bc+RYw8C3RVzY=; b=lGrx3WrOsU0u58FXCzfY9aW75u0wrlCCfg7XnMdOTgMUaWfL6mEiZSBKiQas/oWYDs +PH9ZHyrgV8GP9JL0Wmpm7n7BAbVVfn65FYm11HoxI6uq5wM4oqdIbiuGcXRmbnkfU1A BDrbrI1hsDkcK+jakB//7B92D4OMcnxzRQTWsLATlW988A/CH8rIYq9hm0lCIKVlXfvA 3Z90iG8GWXadj/JDiaa21bpQvs7b7Nw8B585wSPfjm/hTwroxZ2ubkxQxGOPHpDnD6ff KdAeskILO0xNbMP9n5jAQ6UqpJeHpboDnuFgoDFXXY687P1TKclnO4QwhmashxPUOJmn 1g7w== X-Forwarded-Encrypted: i=1; AJvYcCVcGYoOsGJ2k3EhXmudW6iKrOVtxcVlcuoG9QnVSj19FiUna2LtRKyyHvcb9k05oHshIikZKbyjgQBIZe1EXajIDdxnBK1PLqvfi4Ez X-Gm-Message-State: AOJu0YwgrBYY2xnCJuG8oDgvG8ol2BWxNWshfWdWFe55WmKyJQ0gqkZ9 dQBh1e5/nvah1YaFmFCtOIRHSXD37JTNJGeL6E7ial9+rrQ/5Zd9W0eJnpl49uFYlvzoEeX84gS rY0YuzA== X-Received: by 2002:a05:6402:458b:b0:56b:9567:3337 with SMTP id ig11-20020a056402458b00b0056b95673337mr1296011edb.1.1710870739076; Tue, 19 Mar 2024 10:52:19 -0700 (PDT) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com. [209.85.218.41]) by smtp.gmail.com with ESMTPSA id eo14-20020a056402530e00b00568a1897dbesm5742790edb.77.2024.03.19.10.52.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Mar 2024 10:52:18 -0700 (PDT) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a466fc8fcccso711838166b.1 for ; Tue, 19 Mar 2024 10:52:18 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWVdQz1EAxUBW0dYo4xzbfIz+cy2meOQuuPOkwuOlVqPKM8UmHrJvuj/65bk8fiqf9Iv7i7wrbfS0MlmhJczOFLNzGZUeM01xSiY/Rd X-Received: by 2002:a17:906:6d59:b0:a46:e595:f357 with SMTP id a25-20020a1709066d5900b00a46e595f357mr1437660ejt.9.1710870737954; Tue, 19 Mar 2024 10:52:17 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240319163656.2100766-1-glider@google.com> <20240319163656.2100766-2-glider@google.com> In-Reply-To: <20240319163656.2100766-2-glider@google.com> From: Linus Torvalds Date: Tue, 19 Mar 2024 10:52:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/3] instrumented.h: add instrument_memcpy_before, instrument_memcpy_after To: Alexander Potapenko Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com, tglx@linutronix.de, x86@kernel.org, Dmitry Vyukov , Marco Elver , Tetsuo Handa Content-Type: text/plain; charset="UTF-8" On Tue, 19 Mar 2024 at 09:37, Alexander Potapenko wrote: > > +/** > + * instrument_memcpy_after - add instrumentation before non-instrumented memcpy Spot the cut-and-paste. Linus