Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1759384rdb; Wed, 31 Jan 2024 08:14:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhBhJyERCqbBRJm7qTi2r0nqDcsjc06gcEoiEkwM6ntDrYkrZE/SQBdgO/ylI2NjYXjRPI X-Received: by 2002:a17:90a:7282:b0:293:ff12:4e46 with SMTP id e2-20020a17090a728200b00293ff124e46mr2336837pjg.2.1706717698407; Wed, 31 Jan 2024 08:14:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706717698; cv=pass; d=google.com; s=arc-20160816; b=j65y2K0eaIc11aRWivOFbxB0kv+K/OsWX4XC5dlli7incAiTBAtzyoyzkdOLPFcB7M wMHyob4NwcVrhItFAzddl/mrdlGZ/2w0Wi5cUXzrfIOPKOYAmEDHqCN8O1JmzLTPHLVi esPf1P1RKtf+g3wZ3Q8VPEFLGUbXGV8kEWiGrgHrcrStQF9dqsMHcJxMqyWqFBvx7LGa fdjEvsHIEKCuf9yK8qFOIzMHVgcFZuyNfGoWB1OILa0ODPNJLs7839rDspHtTkNOVznM aUkqyiAyL3gEKnuurTyrKGsd4f4iA6urt18+0CmM7CDMWr1bH3eBCn4ELuBiYlP79YFW 3+kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=HcNAsgaxNgggyZ9SeOxRzNntPWGaE5GD7RgRHErXCTo=; fh=CuEQ7DbdRhiyNdQGPsHEjV2w7UNZLavUL3dtQU+guGs=; b=M2gG6xloSJKkT6f6GE0Gky/4eRxFz13HPyht1AAWourAFtHuu+ZOgD/R5DZO+W/uHa E4/Wq2nxrM9LxlHl4L0UkbpfMEtTKdrNv05aCEVS/EklmD9Nx+lkEBsfATKUiwRorB8Q RdrMUJ01p7HxYxIb0QSYsOmDo0LIGSpzDSIwUpUlPUH8aWzGMQYeZ4Li/I980Ygc0Vt6 gIcB/zRkWcmhMxBr3Z1dx6LbM1cHvr7RMvff0v2kgZGUVzWVJ9i5I/I4pSwUITolwmJg d0eLDlCpHoXdlTeEl88X42M/0TiwinnWHW1sUVxzSjAGQQg0XfH3tm/S9H0y7Lu1S0/+ Yslw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-46768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46768-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVteO5Ij4YuFa2tA6xGQ0YsqYFzX393I/1Si71c3T8ygGF+tc58DS/IeBYnvtMxHEo0Cjerz9hHHV7o0V8SDMuoosae5BiZCIcjFsheRg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j6-20020a17090ae60600b00295bea81c82si972503pjy.44.2024.01.31.08.14.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:14:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-46768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46768-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 35E9B2874D1 for ; Wed, 31 Jan 2024 16:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA63F12BEB7; Wed, 31 Jan 2024 16:13:46 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5862912BEA8; Wed, 31 Jan 2024 16:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706717626; cv=none; b=gMuee71rhQjKAV0ggKSzlbzY/hcNZc8QYQiHyiNcC+GWaA5xcBvKFRgjXx3xhFfJ1+aF5rm5oVif2TdJubLJJyMcXQ9S/PDs1PwrH3znR+G+n/PEsIza9Ypao9Y5UMMTxrKqJ+m+BmVN0vzmWi+bAAtDH0xINifQy0OcIU4koQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706717626; c=relaxed/simple; bh=Y9p7Qys8VYoI5vR/TxJmHQmVhklAbcJAcFqAVVpM4GY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hndHPRYdPgT67lK4rGoAy3KeXay/0Eaff+FFpz1dQ2YgIml3bVni+zmMpNGBySPF/gRuSadIOU+pGNkNrGsPIGevf/PmW5dZzaDY7XzE/NNUhKPg3ilUpLF9pbpVI3vBRc2j9qu1IUlR6QKKfOKOUsrsihYOzUoEs2K2jwjNpIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CAB6C433F1; Wed, 31 Jan 2024 16:13:44 +0000 (UTC) Date: Wed, 31 Jan 2024 11:13:58 -0500 From: Steven Rostedt To: Linus Torvalds 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 Subject: Re: [linus:master] [eventfs] 852e46e239: BUG:unable_to_handle_page_fault_for_address Message-ID: <20240131111358.5506645a@gandalf.local.home> In-Reply-To: <20240131105847.3e9afcb8@gandalf.local.home> 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> <20240131105847.3e9afcb8@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Wed, 31 Jan 2024 10:58:47 -0500 Steven Rostedt wrote: > @@ -788,6 +717,7 @@ static void init_once(void *foo) > { > struct tracefs_inode *ti = (struct tracefs_inode *) foo; > > + memset(ti, 0, sizeof(*ti)); > inode_init_once(&ti->vfs_inode); > } > Note, that inode_init_once() also does a memset on the entire inode, so the initial memset is redundant on the inode portion. But I didn't think it was really worth the time to complicate the code by optimizing it. I guess if I changed the structure to: struct tracefs_inode { + struct inode vfs_inode; unsigned long flags; void *private; - struct inode vfs_inode; }; I could have it do: memset_after(ti, 0, vfs_inode); But this can be done as a separate clean up and doesn't need to be done now. -- Steve