Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1235250rdb; Tue, 30 Jan 2024 11:57:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2L4+CZI6SstuVZqFQwmZ+qHn8VVazEVKmddlc9EJdEXWyt733CeLmxqT9F07710YgvS9V X-Received: by 2002:a17:903:1c9:b0:1d7:8541:f914 with SMTP id e9-20020a17090301c900b001d78541f914mr10584143plh.26.1706644636741; Tue, 30 Jan 2024 11:57:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706644636; cv=pass; d=google.com; s=arc-20160816; b=Gtrz6PWlSpE9F4/TVYcHIIK0fH/YNMT4qiHavmKIygwO/qWN7J14GppSMCBMP6z6BJ 0mtdn4Lhl3f53UdDeMjVqYtCsMenw14ShF0bXEVQDUI2x8O4YcrfI3eWASABE0tPuVrI 5Ihv113aB3soIK7SmbLOXbgbWIAjNEj+1DVyNn824aRlv1RC8/m4N9pIlAuuEOH0P/E6 XAyuUVcGP4R0PTRGlgqoepmhzWnTOP5BIgP7namvUFEwLSsIAESusmiMDgRdUUxY6YBq MUGwt22EoAcvmmTnoaw5LP6Yz1zilPuv39PWyQv6WoDTWKETMzEL1/CVV+fcFHJ69Ycc VZEw== 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=xsmhAB/FHTmzTTzdgfdlCEbbVq9kW3x2bQ5xRcrAAgg=; fh=Md50wLehZoDD5Sx7nueCG/UN4tfSAivmPz4nrPW3cUY=; b=j2+Tylz6Zc/snWpIxi8A27Pg08yat+kXrkYaCM0WLCXZekBZaE97QjdwiNiMHU3Ujd xl/vEGFvqRvZb+riozV1E5uiWfM4TPB4ng9l+ryfOpXTKDH1KcdZ8SNcKpS2IuB8iviq mfNGcco0QxbmaoaJcPOOr17rCfv+asWnBCO6Bd/xep6UvPkEWPBeHhfaEaMK5Siq6hHs ueElc63t0ov3zi9YcCHx1Dr+t6ge0XbVxFTDp9Y5NNKXQa/xHz3Dz3puInB97YLefVGQ d1RTdUEWFvDlXmAbTOV0jPE4E8aSX3H4E3EaYLU94Rioc812JrkKn8gYEm6zUSg94lIR mObA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bjkoG727; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45229-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u19-20020a170902e21300b001d8da2b91acsi4170240plb.530.2024.01.30.11.57.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:57:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bjkoG727; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-45229-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45229-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4A4F4B210F3 for ; Tue, 30 Jan 2024 19:56:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2673371B3D; Tue, 30 Jan 2024 19:55:20 +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="bjkoG727" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 84F2471B43 for ; Tue, 30 Jan 2024 19:55:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706644519; cv=none; b=nugFCBSrLM5UYs8KyKzkJGxqpXQAuUgmEKuDSCeziHh+JqYwUrzQSLQ5sDkVdl8GDMZfQambiMeZM/6/2om8c4qrXEDJEHovafkOL+mQOoYC255zVNijDIEuG6ReYctuB4RqjOhrAHYkWvBSp/5am1zAAnGvI4ixJuSi6xhnm7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706644519; c=relaxed/simple; bh=OA8oLBHPhrSLnbd9ATKoXbq8wijgvN4ewjiP+nXyvgo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=QB9uuG4KcLK5gxtWqKiuxPdVazpj+/kMP0W60XdLHT1ra9tnlq+rYvPZH5tvmEbuga8MfGBvKPpAfvfFS9GJY44135ZM+/QmYPazI+IsbogQxd+VcKeJ+7cP7Z61+tIFRcAqyZs34kczyBHS3A0G3D5Ywc5Mx8Uba0RZbKBJ+sw= 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=bjkoG727; arc=none smtp.client-ip=209.85.167.42 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-lf1-f42.google.com with SMTP id 2adb3069b0e04-51031ae95a1so4330801e87.0 for ; Tue, 30 Jan 2024 11:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1706644515; x=1707249315; 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=xsmhAB/FHTmzTTzdgfdlCEbbVq9kW3x2bQ5xRcrAAgg=; b=bjkoG7275PYmR7+I7XK8q/E7PjhP1Eo2FOi8tCCR5h2douRJ0Uf/DoG5f4ZO+uSvWS vowDFwErsETbQ3xEMunAnj0WEtLJtcJoHePpNlbcWUQ8c+kO2X9EVJmtfu4BM4SKFV8i Afu6jnY5l7VzI/h4TvrdyGyiPZ57aY1E4eBb4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706644515; x=1707249315; 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=xsmhAB/FHTmzTTzdgfdlCEbbVq9kW3x2bQ5xRcrAAgg=; b=jNh37a231IWvrTQyRk1BL+SSfY4tHRjjCgNPwpW4+cN1lUGx9Wc2W8l/rNdehe7vPu jyDDjEUI1/uiRGaA6QEMDKGAQLFLSranxZGQjYtBeojpxsiKvuX2gQpIrb4nzHCcO7kY 6xypTQv3dtBPOJmzaw3L65fWIGGi+/fZb2mVug/o4awpwdwKjYHnof/xZGHZ4dPaPYQy SbSplFoZQhVpboWeQ23/VXwNbcjJSqNE3T5z6BfLLfYJSZLrJ2S8wrj6BoFmd0yCfWmb joXQehPnPPy6nk2xlTKrSLgw+y7OzwUKORquXkVcK6eDgiVCctYO1Cr+G20PpFX842Zn K5Mw== X-Gm-Message-State: AOJu0Yz0kkB8jEkOyzlTR2qc9EysUoQuZ5YoenIrYZ4M1PfgWvL42gXC xJ/odoxyU6yB5XA+i/oBOk0O91CapnB05lJT76sn7ONwtg0YBYG8ZvlLDLeeBcirTUSI5uZb/3n ua9cQWw== X-Received: by 2002:a05:6512:b83:b0:511:1790:e3dd with SMTP id b3-20020a0565120b8300b005111790e3ddmr3431627lfv.54.1706644515409; Tue, 30 Jan 2024 11:55:15 -0800 (PST) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id k3-20020a192d03000000b00510158a1345sm1603213lfj.60.2024.01.30.11.55.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 11:55:14 -0800 (PST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2cf4a22e10dso51443191fa.3 for ; Tue, 30 Jan 2024 11:55:14 -0800 (PST) X-Received: by 2002:a2e:9b09:0:b0:2d0:5dc4:4e30 with SMTP id u9-20020a2e9b09000000b002d05dc44e30mr1808081lji.21.1706644513633; Tue, 30 Jan 2024 11:55:13 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <202401291043.e62e89dc-oliver.sang@intel.com> <20240129152600.7587d1aa@gandalf.local.home> <20240129172200.1725f01b@gandalf.local.home> <20240129174950.5a17a86c@gandalf.local.home> <20240129193549.265f32c8@gandalf.local.home> <20240130132319.022817e8@gandalf.local.home> <20240130143734.31b9b3f1@gandalf.local.home> In-Reply-To: <20240130143734.31b9b3f1@gandalf.local.home> From: Linus Torvalds Date: Tue, 30 Jan 2024 11:54:56 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linus:master] [eventfs] 852e46e239: BUG:unable_to_handle_page_fault_for_address To: Steven Rostedt Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Christian Brauner , Al Viro , Ajay Kaher , linux-trace-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 30 Jan 2024 at 11:37, Steven Rostedt wrote: > > Do you want me to put this in my urgent branch and mark them for stable, > and then send them for 6.8? Hmm. I think the only one that fixes a _reported_ bug is that [PTCH 2/6]. And it turns out that while 'ti->private' really is entirely uninitialized (and I still think it's the cause of the kernel test robot report that started this thread), the ti->flags field _is_ initialized to zero in tracefs_alloc_inode(). So even in that [PATCH 2/6], these parts: - ti->flags |= TRACEFS_EVENT_INODE; + ti->flags = TRACEFS_EVENT_INODE; aren't strictly needed (but aren't wrong either). The 'make sure to initialize ti->private before exposing the dentry' part *definitely* needs to be part of 6.8, though. That has an outstanding actually triggered bug report on it. I do think that tracefs_alloc_inode() should also initialize ti->private to NULL, but while that would fix the oops that the test robot reported, it wouldn't fix the data-race on any ti->private accesses. So that "ti->private = ei" needs to be done before the d_instantiate() (that later became a d_add()) regardless. But not having random fields left uninitialized for future subtle bugs would be a good idea too. Anyway. If you do run the full tracefs tests on the whole series, and there are no other major problems, I'll happily take it all for 6.8. And yes, even mark it for stable. I think the other bugs are much harder to hit, but I do think they exist. And code deletion is always good. So give it the full test attention, and *if* it all still looks good and there are no new subtle issues that crop up, let's just put this saga behind us asap. Linus