From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23809C43334 for ; Wed, 20 Jul 2022 02:33:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238957AbiGTCdl (ORCPT ); Tue, 19 Jul 2022 22:33:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235203AbiGTCdi (ORCPT ); Tue, 19 Jul 2022 22:33:38 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1239D42AE3; Tue, 19 Jul 2022 19:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zaALNxq5RVE2wjPOSeDTpB0sKVHkbLNiPRaByZS/1GI=; b=IHKUeO3sXdxDSJ+BN+U2VtaQBu cVrF1C2jiLA4xaefnjOPhHGiLPJdFhg3CAr4thqWfrwxaJufD3kjI1FxgsD4hMXnS72YaR5UXvFMH zzshbqJLKcTfXwvKX19vpPCR3gV9ZFjU8UVlkPdkmIbtcEpKY1Cc401W6mMvK2OOVDv7ZE3nlfLaE Q6nbYdTO920jdD7fVyISr6eGzFnZMWmq9OXs2xX+JEtFur0wvRorsXePBWOShcc4Ew8KnIsmvue8r /yiDgu31dr6yoZlsNJEDyNrmu2yHBjLACubuADcSI5EK9AGARf9jIABOZqLiTPxldnkUCljLYwsTR xbbfuiIQ==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.95 #2 (Red Hat Linux)) id 1oDzWk-00DxLn-KV; Wed, 20 Jul 2022 02:33:30 +0000 Date: Wed, 20 Jul 2022 03:33:30 +0100 From: Al Viro To: Helge Deller Cc: Hillf Danton , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Subject: Re: WARNING: CPU: 1 PID: 14735 at fs/dcache.c:365 dentry_free+0x100/0x128 Message-ID: References: <20220709090756.2384-1-hdanton@sina.com> <20220715133300.1297-1-hdanton@sina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 20, 2022 at 03:31:10AM +0100, Al Viro wrote: > On Sat, Jul 16, 2022 at 07:27:30AM +0200, Helge Deller wrote: > > [108564.845444] dentry = 000000031624e6c0 > > *blink* > Is that really a plausible address of a kernel object on > parisc? Or is that "mangle pointers for security fetish^W > purposes, lest somebody manages to get a useful information > out of dmesg" in action? > > > [108564.889437] spin_is_locked(&dentry->d_lock) = 0 > > [108564.945436] dname_external(dentry) = 0 > > [108564.993436] dentry->d_flags & DCACHE_NORCU = 0 > > [108565.045446] dentry->d_name.len = 3 > > [108565.089435] dentry->d_name.hash = 89116695 > > [108565.137435] dentry->d_lockref.count = -128 > > [108565.189434] dentry->d_flags = 32776 > > 0x8008, i.e. DCACHE_OP_DELETE | DCACHE_DENTRY_KILLED. No > DCACHE_PAR_LOOKUP in sight... > > > [108569.801407] dentry = 000000016d7d0000 > > [108569.845407] spin_is_locked(&dentry->d_lock) = 0 > > [108569.901422] dname_external(dentry) = 0 > > [108569.949405] dentry->d_flags & DCACHE_NORCU = 0 > > [108570.001405] dentry->d_name.len = 10 > > [108570.045421] dentry->d_name.hash = e6582e53 > > [108570.093476] dentry->d_lockref.count = -128 > > [108570.145404] dentry->d_flags = 32776 > > [108570.189420] dentry->d_inode = 0000000000000000 > > [108570.241404] dentry->d_parent = 00000002332c2780 > > [108570.297403] dentry->d_u.d_rcu = 0x416be770 > > Ditto. Pointers look really weird... PS: I think I've caught what could be found on l-k; could you please forward the rest (parisc list? private thread?) to fsdevel or directly my way.