From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f12.google.com (mail-wm2-f12.google.com [74.125.225.140]) (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 4B6093AA500 for ; Sat, 3 Oct 2026 18:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.140 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791050554; cv=none; b=gSZHy6mYZ9kWCHXfXeyoKpdPh8m7tij/HhTnNshG5xGCfsYia2kl2AgfRdPFD4Zh4MZmF/taYXT/38k9UOI90Np7OO6Fi9Ah4MF+PQ5W9uGQJSPWLiKwqRJ5ixvd34nHEMV1p3Rxqy4S2SV1CqByJ1QXdAHqg2LNFJi35sSSg0A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791050554; c=relaxed/simple; bh=1fA35AzLMLI8IsjeYb5yaRW8LrQiraBlfHGAy9JiyXU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TNaGrIyhqwhk1lEHhdskRqkMdNcG6cSnHhFbPrIXRkMXs99slJv1F1vHszNxo8ziNJBkKi/lNWhsfmcY1CST/nbU//n6gW5kIefA58X92SNa1e25BBJyS+SoTp6wPg7yv+TyOn21ZUnzM9zGAWEHFxYbR0eFVd/xkHmT+x1qw5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=truenas.com; spf=pass smtp.mailfrom=truenas.com; dkim=pass (2048-bit key) header.d=truenas.com header.i=@truenas.com header.b=AmJNRO1t; arc=none smtp.client-ip=74.125.225.140 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=truenas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=truenas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=truenas.com header.i=@truenas.com header.b="AmJNRO1t" Received: by mail-wm2-f12.google.com with SMTP id 5b1f17b1804b1-49cd5462b69so4220445e9.1 for ; Sat, 03 Oct 2026 11:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=truenas.com; s=google; t=1791050550; x=1791655350; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=1fA35AzLMLI8IsjeYb5yaRW8LrQiraBlfHGAy9JiyXU=; b=AmJNRO1t6oWi0aOw+mT2mVndfXFuJ5Z3Czm2jr9X34mIMdbbTcJl/yp2donqbXgOSm G96nGc/CthyG2os9pHyHhLnnf116S8eB+e4brYmVuYDOnydOgqUOrLlwFDkJxDkd+hAp 2Ov77RcTStcZLUrsXEawI4yClLqZdHzF5xPFVeQD18OdFqzcqpxLzsxo6JTHYElnjJEc 1ZU11YzqcNtEKUslhyPm7dm+mYbzA4ttiCa9M4wMYvhmhBpuf5sQvGp4Y4dW8I/0sbcc lmX2ac8IpmIppGN2TQPhjq9m56ONpQ+9YQF3louEVH+qwUcLdSLbxrFNxWBO9mfDigrK 0AFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791050550; x=1791655350; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=1fA35AzLMLI8IsjeYb5yaRW8LrQiraBlfHGAy9JiyXU=; b=PrVm76BY24eUwtA8Kn7eVBiBELEVbSG9ITDmlyxWUaoU/3DMvKIgz9uMttQnyO7AHz PTDncUrJyA+LAhymu3hKVOmBqGjiBkUSnYwiJPDlwZHi8K0wgMXZvQjycNwuHM5Y4CoR G2UzYqmHA7QhMoBWgbdd891lBTNGu9lwdquosIFZbXaCbim4oYZjdoAN6oUBERkDtiTw hj6yXvWQzjj2UHrE8Gmd3oIbg+VidqQlYJkHZhijD9/R5rw0ZIZI4wgpU5pzzswbPSCB a9gXX2xxJ3IjpYNhl+/zcZPG4W4GVzXbf8fRQHYtoFWk+owcRjVsGYY1Tk1lQHjHEP8n 4Epg== X-Forwarded-Encrypted: i=1; AKwUvBzMp19Z2DBzxjxnkfMNW9fsMWiJ+ZlWjJvCcQPPN3lsbGbTvuTR799IIAv3pNgmnirnEGCoUniuaRMmLuCWzAuc@vger.kernel.org X-Gm-Message-State: AFuF++klVYruAG0Ul21MEOGdvw+7ZREW8Pzivby5r8M1fd1xIAXBp/RX EkBiV7KjAHzP3upWtihj9p8E8hnlmJM25/XkCbm3N0/WicpwhIV87HONWw8C8UdsbBRcSWKW3Eu gJ0XmzStr X-Gm-Gg: AYBFou0xCD60zHhCrLw2rrBN9mlkYvhtrbjUe7Ljld2HLlPLeB1ZK99roPhXdjQfeH3 72HaIrp9kP5ZbLoohUmh/cH3fq7eTuAHLfB2o3IXGadUwDd33Hpf/bWeV9oi7ejYSLfGgC6Aqbg ye9MEJRRv7sOA4g2OuDtW5M4Y9sLMylG37lKJJyxk8XjJTvK4XrTneq9eX65vCimi7QUswHVux3 lkM6OcIKMgmtK/AaJjcx9bKtUuZzO+EauvMoh15ueqFFQbGtMDXo9f82QQzGg0eqbyE+1A0tZbe FfQwsEtQrTpNdmelGLA9aZl3Zqbrugaoif9ewVe2ZF8MQgYY/IFR6HW/N7rWsNC8UHf5wgDsyse TCRydI0TQyNM2OTYtQSq0whqcezt2stpI/1td7PMyBpf/fCome9ubcgcwXGTo2FDC825i2qZakK oZUlIX6rZecEc0EHCcgec6cpgqEPPfbxT3PXM/raNcruIG6crq7w== X-Received: by 2002:a05:600c:4e55:b0:49e:823a:9dec with SMTP id 5b1f17b1804b1-4a0274e9c4amr107646605e9.3.1791050550421; Sat, 03 Oct 2026 11:02:30 -0700 (PDT) Received: from hamza-PC ([2400:adc1:158:c700::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48b382f89c3sm12646948f8f.34.2026.10.03.11.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2026 11:02:29 -0700 (PDT) Date: Sat, 3 Oct 2026 23:02:24 +0500 From: Ameer Hamza To: "Lorenzo Stoakes (ARM)" Cc: rppt@kernel.org, peterz@infradead.org, akpm@linux-foundation.org, david@kernel.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, stable@vger.kernel.org, 4ncienth@gmail.com, sashal@kernel.org, alexander.motin@truenas.com, caleb.stjohn@truenas.com Subject: Re: [REGRESSION] secretmem: SIGBUS on memfd_secret() pages while perf record runs Message-ID: References: <20261002175651.811343-1-ameer.hamza@truenas.com> Precedence: bulk X-Mailing-List: linux-perf-users@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: On Sat, Oct 03, 2026 at 04:56:32PM +0100, Lorenzo Stoakes (ARM) wrote: > So this is a bug in perf, which should use its own counter for this, > AFAICT. Agreed, and the report's closing question pointed the same way, since the commit itself closes a real hole. Glad the longstanding perf bug is getting fixed as a result. Thanks for the analysis and for turning the fix around so quickly. Thanks, Ameer Hamza