Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1804571rdb; Wed, 31 Jan 2024 09:29:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWw2y7++IxGMh89LBmxLGV1BNYVkawZGDbvKpgjmlPtY6pStVtCKt8/WEIZZ6u/Loo3wjj X-Received: by 2002:a17:906:f9d6:b0:a35:7438:113f with SMTP id lj22-20020a170906f9d600b00a357438113fmr1602150ejb.49.1706722154159; Wed, 31 Jan 2024 09:29:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706722154; cv=pass; d=google.com; s=arc-20160816; b=D/kU54nQqdD8UgMtKXaAoOaEgRjMYcmkUeS2OEInkY01U+C9ZPAHqQdfQmDm4tTfxA 2nbYRCQ/HBmhbbIki7zzW8de9uKlAvN6Jhb3r1SF+84IAISUQYA6318oiTTgHx2XqcPN H6OmXkTUN3JUDJUctLG8ALF4pnduyUnP7Nz2A/8AR7gyQ3++JjLxi/BRKe7T3/SVKmhQ Wq1W5Mvq5dKQe9jQCtJaKGXFUpKRgWu7tuL1ointIK9CbC+EHZC24mpWkQxSx6cJ8ylk 4o0nSw+y84LNawaEqaKxy9KV7X7zT5DN7ref/NcEvbB8SNs5gcRN6+WVIpwPlGUMNZfn 69AA== 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=AtGv6rZA7IVN6E8uFRqQWj5el9496wZ9QzRiPdcrJ38=; fh=vgbbTX8aFy/BouaeWXy+IyqUT1kY1K2aIrLudayMlGg=; b=bdpD3vTJvYtjEaIwTbduc8zL0c0WxKXA/vAq9qu6a/wKn4jw8UIWlHMn8Ka1+Xa05x cawbhK4GQdrGTl22tVhpwVc5zcWY2MMhpwLrj3sTDh1fH3qpa3t92JZKZLhDdYCk+qFw i757cvs5zrBLggikhNS1wTHIZJ7aBpZTN21Ix4+zzDq3McyXl88e9oGG5vnF08REaYlx TF3csvbUe7Di8MlP8Ah8L1HgLt+NwKPL82vXSdNjVA3hKI+dw4x6AABR8HcR67hXaSm/ PFfH88GEQutmUN65io4MzIrbXfRJl6+f7o7wwqQ+txQyZZpMYKHG5eQY21z9GULU+gfP rqSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-46906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46906-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVHqDSl7FQ+cGoQUoQtQyyn1iSouy89o5lRIFNGvwGYJaM9d1NSk0hX4NmZ6VTQmSYLyX6feO9lIkmywIzgfhEooZgqk+tP6wb1UcW1yQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id pk27-20020a170906d7bb00b00a3531956852si4726916ejb.149.2024.01.31.09.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 09:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-46906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46906-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EC4201F283B9 for ; Wed, 31 Jan 2024 17:28:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0C9112DD80; Wed, 31 Jan 2024 17:28:32 +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 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-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