Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp664319rdb; Mon, 29 Jan 2024 14:20:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZ7jDckzt12bwXaWj7HgQJIMhHXLpJbzIfcDOWxMY5ZU4zheOPE9s++ByJDJ3vVKdPEYtB X-Received: by 2002:ac8:5811:0:b0:42a:9557:eced with SMTP id g17-20020ac85811000000b0042a9557ecedmr7244302qtg.125.1706566845753; Mon, 29 Jan 2024 14:20:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706566845; cv=pass; d=google.com; s=arc-20160816; b=mBIxChd3VQvTlHuq/H7UoWDuWgcAWhdbUNUM4ZpADZueAkVI+LPeYPR8+sWcdq+33h 9mqnVQhwd5ICz6mYqa8W/pKzxsRyrEULEq59Od4lu5ATgM/04FmsPuv9Ol/vw7IRVfNB eUxSj+1h6RKqfAqTup9CpclFBv5gVI+ps6JTJp12ZvmtK+8PpgfRFhVV54+lQl4elTKe 5ocCmociLW2viiadiA8Ycl+nWYgwYvBSOyn60RtLowoDFeNxZmn+C8OySQGqhIWuVywm NqCrFHgzgQyyxFZldOxGVvrjQ8iv8aGUtKeDSO5ppXYTD1SdQXU2PGGdEPBl6gsi4olA yd6A== 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=Iay1thZs+tUb09oVitGMEBAcP06SPOZDG0BLc7NtdM8=; fh=Md50wLehZoDD5Sx7nueCG/UN4tfSAivmPz4nrPW3cUY=; b=IRajrPVjPIpx0pVsNJd5N17J/kQjkoRXUvzc283Z4wc3WDF8vYMLiB5DUvHNSTN2Kn TPghl0EDpIED0rrJ7pjzH23ogUGa+bxOwL217sWXqEzxMev/OVYlgPLkt9SwCA61ZTHx A+vhlgNMWKGigpwwgjTYnesCO1nUAbRUGDXeodwKyRq0omAtYxl7OEqSIIrRduApnngh vedDMNPc/mslMwdQM5Zosze9y69ihG/csFQYYAvz9XjGFnkRe0hF/jglgixidIth1reD P+Q3pAz41X6lY2a/yPz78FH/4XV+dAYAKIRpTn8KCAz53SS3MU5T2syXiVthFA7Qhbgf FMew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Yzbs7s9p; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-43559-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43559-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q18-20020a05622a04d200b0042a25031dd0si8635072qtx.481.2024.01.29.14.20.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 14:20:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43559-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Yzbs7s9p; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-43559-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43559-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4A95E1C22D84 for ; Mon, 29 Jan 2024 22:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F2D215958A; Mon, 29 Jan 2024 22:20:18 +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="Yzbs7s9p" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 DC41C266D4 for ; Mon, 29 Jan 2024 22:20:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566817; cv=none; b=BjRFa9R/WkKNauCUhC9ZyN9uQctGkQcyiSbxo4O26+KzXGLYR4Yl4zWQ+srx90/U431zzxbFz7MJxX7y+FcFlz++/jnv5fW4Qb0y5mV7dTjct0lZhoLgHjzcy97d7YpgEyLkwdtKLVGxVcaDdyJqM6Z5loknPQZDS8XUNCtTOhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566817; c=relaxed/simple; bh=PP4Ucxud54uO0dEnP2Nul7Kvjbb/eked+1RH7DqpTNI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hHCCSVRnVt7PFI3blMGtUj3scFyqYjHqmiXc+qLjvCMTQLj0PY4BTm1xXlxKu8D4TuzEnNw8Uw+NE3Bmwlx8tw/rCQvlL+szfr3HAiQQMxp2kI+A5i6jss5kNQaFLjS4gzEUVfQLo08wgah/VHBfNR4bC3pESnaU0UXnVbx42SE= 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=Yzbs7s9p; arc=none smtp.client-ip=209.85.218.53 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-ej1-f53.google.com with SMTP id a640c23a62f3a-a3604697d63so76372166b.3 for ; Mon, 29 Jan 2024 14:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1706566814; x=1707171614; 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=Iay1thZs+tUb09oVitGMEBAcP06SPOZDG0BLc7NtdM8=; b=Yzbs7s9pa+2mQTU1/3pUlmxoordvJUhDiZdCIUCiQdJ9Knkf8z43Xg4awIAkwebzz8 qWrl9t/1Z1NNWczgQmJP9HiK0PabIna9Ctj6Fbze0iXtBH9FxOSQi1zbBIXAfld+Tjki bGFCqCQv9dXF21RIX5r0mjeXxnjJ9gRHOxQtM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706566814; x=1707171614; 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=Iay1thZs+tUb09oVitGMEBAcP06SPOZDG0BLc7NtdM8=; b=FWyF891A58t6hdbDYtBx0ksYg36xD7ZGYNfES1VmuZW/YRbEy7lHp69ERgTyiZgLjd ovqrCcbQwTPuIOB8E9bXOEw9stjXd7BqXbUQBdPfihLAnZpT2Os4hy7qgVMyPpe/Auqx xcSTBlL4mer4YhGjQvysgB/S12J3nsSmGsn6JCKFFPq9TKEa6TAFdV0Nf68pTq3QvhCB cnYV6AW/vp0hiLhnTbZdhb0YsDrDTb6/O5n16HVokwwzKV2Ss5qFu2FzHltLO4bGlmKz lbBGYjg2VBqyfD4KATuYKlfc7e/K+Ll0B4fGe+0PAKgmMQuIdW82FroQH4qU/72TfDP4 ahpw== X-Gm-Message-State: AOJu0YzNbDR8vFBGmkdofXyFRYvzRohlP/f3FJQPiODm8Xe/lfyJSAIp 5jKD/A5ZEIcdVxM1UQcnCWvfzdGpnXCVMLSeu/lLt9CQKZdF5mjCbNthgXjKiKmywF5AwAHRjCa dJSiqcQ== X-Received: by 2002:a17:906:b18d:b0:a35:9513:4077 with SMTP id w13-20020a170906b18d00b00a3595134077mr3659116ejy.13.1706566813918; Mon, 29 Jan 2024 14:20:13 -0800 (PST) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com. [209.85.208.51]) by smtp.gmail.com with ESMTPSA id un3-20020a170907cb8300b00a3516240ab3sm3843563ejc.215.2024.01.29.14.20.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jan 2024 14:20:12 -0800 (PST) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so3365040a12.2 for ; Mon, 29 Jan 2024 14:20:12 -0800 (PST) X-Received: by 2002:a05:6402:27d0:b0:55e:dbb8:4c6b with SMTP id c16-20020a05640227d000b0055edbb84c6bmr3540555ede.42.1706566812300; Mon, 29 Jan 2024 14:20:12 -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> <20240129120125.605e97af@gandalf.local.home> <20240129152600.7587d1aa@gandalf.local.home> <20240129164522.72482faa@gandalf.local.home> In-Reply-To: <20240129164522.72482faa@gandalf.local.home> From: Linus Torvalds Date: Mon, 29 Jan 2024 14:19: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 Mon, 29 Jan 2024 at 13:45, Steven Rostedt wrote: > > 1 file changed, 50 insertions(+), 219 deletions(-) > > Thanks, much appreciated. Well, I decided I might as well give it a test-run, and there's an immediate deadlock on eventfs_mutex, because I missed removing it from eventfs_find_events() when the callers now already hold it. So at a minimum, it will require this patch on top: --- a/fs/tracefs/event_inode.c +++ b/fs/tracefs/event_inode.c @@ -230,7 +230,6 @@ static struct eventfs_inode *eventfs_find_events( { struct eventfs_inode *ei; - mutex_lock(&eventfs_mutex); do { // The parent is stable because we do not do renames dentry = dentry->d_parent; @@ -247,7 +246,6 @@ } // Walk upwards until you find the events inode } while (!ei->is_events); - mutex_unlock(&eventfs_mutex); update_top_events_attr(ei, dentry->d_sb); to not deadlock immediately on the first lookup. And honestly, there might be other such obvious "I missed that when reading the code". Let me reboot into a fixed system and do some more basic smoke-testing. Linus