From mboxrd@z Thu Jan 1 00:00:00 1970 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 1EE7712CDA5; Wed, 31 Jan 2024 17:28:31 +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=1706722112; cv=none; b=XyZOdHVjjOlLkFNPrXXYdc//ICmmcERQLdK9UCVeDw4IFI8jRYkIweG1pUrAOw+ARys8a2v1EY3Of974NDJmCBBv8V3vi3e8TbCfIC0d7PKAgLA+3RGLCAJasa6+wZE2xY3Xu3u/mqzyFZUgYyKYz1mGO8IvaDFT0teOemzw2xk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706722112; c=relaxed/simple; bh=pQQF/au8gH11VqcBaEi4I6TkVLn1yjmvYFcQmCHOP48=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AMz9lg1E6KOSNpoG8/cHdaOzPHDbOZ9aq81cfOoHvIE7/bXOdKxu5ylzf1cy9N4NhKpWExgNP4PeBOav3mk3XvvokUhr2jg1/duKM1S8GXPumn7130iJ6t36o6VR7/zkiZtpPGGL9PpKfjEC6FrUUgxyPnKKMt4gvjoSRjXquQk= 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 4D46CC433C7; Wed, 31 Jan 2024 17:28:30 +0000 (UTC) Date: Wed, 31 Jan 2024 12:28:44 -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: <20240131122844.5683dfe0@gandalf.local.home> In-Reply-To: <20240131111358.5506645a@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> <20240131111358.5506645a@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-trace-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 11:13:58 -0500 Steven Rostedt wrote: > 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. > Hmm, since I need to run all the tests again, I think I'll change this patch to do the above. -- Steve