Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp926053ybi; Wed, 19 Jun 2019 10:11:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEZNjpBoGBUyFLT0JcwUMwxjfhDniaO0D6ITF3Di6Vdja1iIA1miNvkQ+KBl/FY2RjlAL1 X-Received: by 2002:a17:90a:3310:: with SMTP id m16mr11993948pjb.7.1560964296345; Wed, 19 Jun 2019 10:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560964296; cv=none; d=google.com; s=arc-20160816; b=L/4L1qfGppjK/zSv3Gp6rzfmP73NwfzuBXIwG0UvnJzBU5QAMYISXBvI06fKERHL83 uCshDaUvB4kwlUIWsKntds1Cq2fK09nXYZERGhWTKWPfqxqrZ1nL07raWpZUTVQXi72a R6UY14qGS/HtDIkcz4fIA9VPGpbHBjN1tHV0/NPsk5NA/UPNCCBy6os0kIQUKRp6hBmx 7fUXJ8CnHG5p0ZXa+Io2xN3qhC3MKaB5H3y++6eoKHPd7ZWd6EvNagvOL2TFZUBuCgrR gKzMXyZ0qPhYrjFpFImAUGc4zig8fc2IOL8POk8rnbkihsXVWBLJM/U9YFidjwLX6DH9 /bcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uoRkZNBU3yfmguk3jJmepkPPe+xQSoAXon3MsvBJgp4=; b=X98b8SCNVIEOV2mvgKDB28g7WqgKtE7JK5QP6IqSXqL2vjUf1SYPQj17Fsy39SYjEF usawMVXfbpsQ5+8QW9vSrGIr6RIMJCX9Mi4vzQB+PsG4l2kGCNJqOotAHNLRRMFp4Nyp 252mnHNWci8B/l5y50nkGf5rCrZP/PLFi0/FHC/IOYvg3rA37pny9EewiJq139k2n1Jc aDkvzD18AkEe8b4udLRDEFiZeKdkTQzY1wsaYfyu0Du3XnXBXTPChZSHYuagZpbR/ZfM Qm574EdHZCu/T4NWuOGoiVO91z3LhBhBIRp0W7rJjq/7EumxTUBokd/FbRc0nZfbcAkZ rMOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si3459239pgv.590.2019.06.19.10.11.20; Wed, 19 Jun 2019 10:11:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729969AbfFSRJm (ORCPT + 99 others); Wed, 19 Jun 2019 13:09:42 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:39182 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbfFSRJm (ORCPT ); Wed, 19 Jun 2019 13:09:42 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hde5c-00072w-7A; Wed, 19 Jun 2019 17:09:40 +0000 Date: Wed, 19 Jun 2019 18:09:40 +0100 From: Al Viro To: Vicente Bergas Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon Subject: Re: d_lookup: Unable to handle kernel paging request Message-ID: <20190619170940.GG17978@ZenIV.linux.org.uk> References: <23950bcb-81b0-4e07-8dc8-8740eb53d7fd@gmail.com> <20190522135331.GM17978@ZenIV.linux.org.uk> <20190522162945.GN17978@ZenIV.linux.org.uk> <10192e43-c21d-44e4-915d-bf77a50c22c4@gmail.com> <20190618183548.GB17978@ZenIV.linux.org.uk> <20190619162802.GF17978@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 19, 2019 at 06:51:51PM +0200, Vicente Bergas wrote: > > What's your config, BTW? SMP and DEBUG_SPINLOCK, specifically... > > Hi Al, > here it is: > https://paste.debian.net/1088517 Aha... So LIST_BL_LOCKMASK is 1 there (same as on distro builds)... Hell knows - how about static inline void hlist_bl_lock(struct hlist_bl_head *b) { BUG_ON(((u32)READ_ONCE(*b)&~LIST_BL_LOCKMASK) == 0x01000000); bit_spin_lock(0, (unsigned long *)b); } and static inline void hlist_bl_unlock(struct hlist_bl_head *b) { __bit_spin_unlock(0, (unsigned long *)b); BUG_ON(((u32)READ_ONCE(*b)&~LIST_BL_LOCKMASK) == 0x01000000); } to see if we can narrow down where that happens?