Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1076939ybb; Wed, 1 Apr 2020 15:21:03 -0700 (PDT) X-Google-Smtp-Source: APiQypLVh2PGV+YwVNcxUv/b32Kw8H4WAcW8JkAllBgILg4oWlrABCY9PFpPRRVPeWtSnxa6Xol7 X-Received: by 2002:a9d:814:: with SMTP id 20mr31274oty.313.1585779663171; Wed, 01 Apr 2020 15:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585779663; cv=none; d=google.com; s=arc-20160816; b=nfX6ponMAvYriuLDQBeE6Q1+xHz0/ImvbH02vZ/uRmK2hmlqIDwAPjTQ9IkXUKFKCM +YvXYjwNxIYcGsEBkL3zhWvfO+eeJAYQJ2I6LXUpCAkAP79KfRn0ypeQ0w983ULBHcQp YY2jRCPHQNuzjamJKoZWOS8qmQrJd2v3luRnD3kwq5QrG3ut4CFDiiF4EOBggjC5whrz JEaSyWr3xGv9sAtdmRioxEq8lF3H1Jvhce16rimdzETypCEsXVkBDQ5Oyz+tCHYhff9q yvsEDsjlbE4AAEjwKKLu5YdHVx5xvEk5WgXoIn6XZc6vUyJX7ce2DADW6iAr3KXXiQb8 mkwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Cn/ndoIwzwK43LpR6SDiN0Eo3un+SI37/NqAeATzZdA=; b=JDzxADd2Jr430++ZuWx4Tb9MoBTwQ+O+1/RNDHBrb3QX/5pEAlCawbJN2CoXEi2IrQ neVFOlTDSa6ZPjn7fc9kVh79WQALHuqYrewy0kq5zuU0WcgFf5WRxg8NFXuykUcShMjT VtIZZCTapEUAjMW4SmtdLyM8xc/blToNjNWy3ZJVexvPaAivhSgwHT3bDhLqEgoC0gjX iehlnu2HA9Yes1CMjUNqtEwiqg1Bu69vD2RXtQlyv+yOer4pPzK+DyqLlevB59k8qyf6 5x5ekbzb5XcooAO0uyPv3oE3Ri0S2SkrbQtTmaFDA5igPpOsdMbosMFbQ0ny6Ao+l58X akag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WTskXwYC; 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 l15si1352179otl.297.2020.04.01.15.20.49; Wed, 01 Apr 2020 15:21:03 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WTskXwYC; 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 S1733173AbgDAWUB (ORCPT + 99 others); Wed, 1 Apr 2020 18:20:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43488 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732385AbgDAWUB (ORCPT ); Wed, 1 Apr 2020 18:20:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Cn/ndoIwzwK43LpR6SDiN0Eo3un+SI37/NqAeATzZdA=; b=WTskXwYClkflxWhu6scBAWo21K figHGRnz54kd7bZNx6lipvYypoSxX08cf0z0c7VeJqqJ3CtOKecwJisPzU8sUxAFUKOnLoqxD2OGG DuyQbWym7FOBnJdDjx5jl8hRPHPyvvgXXh8BWAohB3SFLyJqR+ckder+cvuJDf2eKoVMgI6QI0sPX 7km/3OKPobqmRjagir1ygAIEdrcMvTJbl0+1nL5ZUZv1Hu6Z31H1vYbIpMSUinkCwlaqg8Tl5/JaO qAbQ0zYhvHki4ZhdeS0u8RNFzurFATm4PBqtsDh7m3haRFwDUJ+5HCKjOzgtRMJkJzEVcQVai6VFm D4ABlSyw==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJliK-0007eG-Vv; Wed, 01 Apr 2020 22:20:00 +0000 Date: Wed, 1 Apr 2020 15:20:00 -0700 From: Matthew Wilcox To: Wei Yang Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/9] XArray: entry in last level is not expected to be a node Message-ID: <20200401222000.GK21484@bombadil.infradead.org> References: <20200330123643.17120-1-richard.weiyang@gmail.com> <20200330123643.17120-6-richard.weiyang@gmail.com> <20200330124842.GY22483@bombadil.infradead.org> <20200330141558.soeqhstone2liqud@master> <20200330142821.GD22483@bombadil.infradead.org> <20200331134208.gfkyym6n3gpgk3x3@master> <20200331164212.GC21484@bombadil.infradead.org> <20200331220440.roq4pv6wk7tq23gx@master> <20200331235912.GD21484@bombadil.infradead.org> <20200401221021.v6igvcpqyeuo2cws@master> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200401221021.v6igvcpqyeuo2cws@master> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 10:10:21PM +0000, Wei Yang wrote: > On Tue, Mar 31, 2020 at 04:59:12PM -0700, Matthew Wilcox wrote: > >On Tue, Mar 31, 2020 at 10:04:40PM +0000, Wei Yang wrote: > >> cc -I. -I../../include -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o main.o main.c > >> In file included from ./linux/../../../../include/linux/radix-tree.h:15, > >> from ./linux/radix-tree.h:5, > >> from main.c:10: > >> ./linux/rcupdate.h:5:10: fatal error: urcu.h: No such file or directory > >> 5 | #include > >> | ^~~~~~~~ > >> compilation terminated. > >> make: *** [: main.o] Error 1 > > > >Oh, you need liburcu installed. On Debian, that's liburcu-dev ... probably > >liburcu-devel on Red Hat style distros. > > The bad news is I didn't find the package on Fedora. Really? https://www.google.com/search?q=fedora+liburcu has the -devel package as the second hit from https://pkgs.org/search/?q=liburcu