Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1136021rdb; Tue, 30 Jan 2024 08:53:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGH31zbtLQf9NDc5Rv/OQ+grhGhRF2LEmh/PXpRsfNvuVyqdgac5qm80CfV8ONe1nusCm5v X-Received: by 2002:a17:902:fc8e:b0:1d7:78df:b1d4 with SMTP id mf14-20020a170902fc8e00b001d778dfb1d4mr6785309plb.39.1706633622318; Tue, 30 Jan 2024 08:53:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706633622; cv=pass; d=google.com; s=arc-20160816; b=Z0wMofPguKlGGuZ+03wB3lZDd6CQn0v8k4Ex47h0igSieCkbDHXpAMqlPLB9YZY2iB 3puED+4K5BAwFbWtL3me3m394uuDIRupBTikDPceQWGGs/cD8pEVimmX343Qv/fiGYs9 8v9SRcr3Sq7ZraG56Qk7GKwGkyhsCcB9lW1n0Q8fU/3M6P1w8vemSA0kJO025LV/zROx RZ/xHPjBOPkjzRcQoO6dRtz8khrvac1Iysi2+h9DrQqjP+CwvzGxOLl+BEdyxcTK8Wyi PqI6rxhwVaC8Ujpt86WGcGXUVFZ+XZX6sYipC7Ts7RLM6y8hnMulz5JffRRn/BZJd9i8 h+tw== 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=9RgrDb4wmHhcjvdDxKDrDt4lCtyY1QCJi2L90SuDuf4=; fh=Md50wLehZoDD5Sx7nueCG/UN4tfSAivmPz4nrPW3cUY=; b=pgpF/5LjOwSvIY8yqeJZDv/WcmPQuRKiJn7hum3QycGQHt2L6KEm1gJ8BrAwIPxkLn cV1QkvjMsFbrMDpG73QRHwBZozmc2fMLB8GfHAd4Xri/nFhaIE8Z9xMIc6goC93rKZiD 62S4BebLkNTmasEjhyqphZNu5CN3mZ1zqASLvaCrpkIdFpqBfDL2TcNEhAQUVXj7zVCR /MP3qfIj3j0m2JmpIu5ufGyrsmSQAEPrlctk3x9e/ELIus5J5XK9F3gGoeVqGrNwHFQS zaIei5BSWTnQyAc1J8Ic8L4YsZs4I0fDfyypnfJGQp6fkLopOEgF83LY8tRNZTuPdi0r mAQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="D/7vVAYS"; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44987-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44987-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d14-20020a170903230e00b001d8e91b8b62si3432692plh.617.2024.01.30.08.53.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 08:53:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44987-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; dkim=pass header.i=@linux-foundation.org header.s=google header.b="D/7vVAYS"; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44987-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44987-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 5D3D4283798 for ; Tue, 30 Jan 2024 16:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23D76129A87; Tue, 30 Jan 2024 16:51:49 +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="D/7vVAYS" Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 768421292DC for ; Tue, 30 Jan 2024 16:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706633508; cv=none; b=PikqG7dtpb8GNpaeuVeGakEJblNIxE4ip0hhtgAXzph5uWL+YFi0MYxL/cOvoQaE6nicoh/4O1wbtES+W/klR/XLzpPVVBSIeYiMmbQjOnK3gp09DrfLJwcPU6bMoGcWEy55qfALE54iCBVhdobfI6dpeaL5NtTjF2iuu2Kg2+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706633508; c=relaxed/simple; bh=6pk4EMPwM/GZJqfsyNUfNAyQZvIdX3nzBLZMjB+WaU0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=d3VUL6qH6lfnZ0lzlkODyhIlrVLmTtwgvpZ15ZCGLjNZH9kfUUReuWClA3ePgtRnyVFpqBIsbT+2t8Unjh7VKk5w3iRXpJgpfVfM0wv0d0BtoQTJt3nN50ovs9nF/389p2p/w2magHeMILR8SH4GoOxa3bsLGnRC6OTUqzk0qes= 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=D/7vVAYS; arc=none smtp.client-ip=209.85.218.46 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-f46.google.com with SMTP id a640c23a62f3a-a3604697d63so220548566b.3 for ; Tue, 30 Jan 2024 08:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1706633504; x=1707238304; 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=9RgrDb4wmHhcjvdDxKDrDt4lCtyY1QCJi2L90SuDuf4=; b=D/7vVAYSsfbaDpRQk0LwDFFa3ivzsSwReBaXQdYBkOmNEaChjEdE20v0FHPKJ4xTwU xfyvBl2mG2RaNDjAMKWVdgrjYa1mMHEv5rakgZTUHDgXXagFk8/ms2w4duOL/PgGstNI 3ykngGJXXEZw4x/NamVy9j8cy2brQahcIp3YU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706633504; x=1707238304; 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=9RgrDb4wmHhcjvdDxKDrDt4lCtyY1QCJi2L90SuDuf4=; b=QC82V3U5ijaJQDtZER7fVbHoPYEjEyhyhJcPtqCyWM5WEU0Yjmv6wfddo0AKkowjLp RkzMw21KPcKcB8VLzyHc9G/c8iE69FYUpjeWbdd581UwojYtRVAZdnsdOu3rU+AsueyQ K+p+yi0d+vufPCiDo09y+SOdN743y/Ey9U3tSrSr6sOmH19+6zwj8H2/drzTLJX5Sa7P J83EWKtzaE+8tHjysKfOyzWODA23uDlub34Cv8gGrmx4SAzcisvY3ybkd6o6JMPYF+XF WP7PkkLeUnJgryloXqErLOqePjcBPL6bHgw9HUjAQu6PYUoMIPAc/U6GToEuCP27YREr zjww== X-Gm-Message-State: AOJu0YwPN5HQn4ZlydLi/6FN0Bc72ZkFKCH+EakibztwM7bqQFauFnme FNA3Duv3Y0XWWAoaq21YU1SzHbDxfSBJ6crXbICk8mE6kq+W73zX25n0MlCD+pOnpNM8Iz5SS3s u9ZSEBQ== X-Received: by 2002:a17:906:f2d6:b0:a31:5941:4f7 with SMTP id gz22-20020a170906f2d600b00a31594104f7mr6626993ejb.39.1706633504290; Tue, 30 Jan 2024 08:51:44 -0800 (PST) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com. [209.85.208.42]) by smtp.gmail.com with ESMTPSA id tl10-20020a170907c30a00b00a3554bb5d22sm3882462ejc.69.2024.01.30.08.51.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 08:51:43 -0800 (PST) Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so4487458a12.2 for ; Tue, 30 Jan 2024 08:51:43 -0800 (PST) X-Received: by 2002:a05:6402:b76:b0:55e:f3ce:c621 with SMTP id cb22-20020a0564020b7600b0055ef3cec621mr4340740edb.2.1706633503394; Tue, 30 Jan 2024 08:51:43 -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> <20240130093942.56206ff1@gandalf.local.home> In-Reply-To: <20240130093942.56206ff1@gandalf.local.home> From: Linus Torvalds Date: Tue, 30 Jan 2024 08:51:25 -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 06:39, Steven Rostedt wrote: > > On Tue, 30 Jan 2024 01:12:05 -0800 > > > > I suspect the solution is to make eventfs_create_dir() do the same as > > the events directory case does, and actually pin the directory dentry > > and save it off. > > I rather not have the create do that because that happens for every event > directory. I wasn't thinking straight yesterday - the real fix is to just do a "d_revalidate()". It's literally why that thing exists: check whether a dentry is still valid. In fact, that trivially gets rid of the 'events' subdirectory issues too, so we can stop doing that horrendous simple_recursive_removal() too. Let me reboot into the trivial fix. I just needed to think about this the right way. None of this is anything that the VFS layer has any problems with. Linus