From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH 00/12] radix-tree: split out struct radix_tree_root out to Date: Tue, 10 Oct 2017 05:18:30 -0700 Message-ID: <20171010121829.GA26493@bombadil.infradead.org> References: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Andrew Morton , Ian Abbott , Ingo Molnar , Linus Torvalds , linux-cachefs@redhat.com, linux-sh@vger.kernel.org, Rodrigo Vivi , dri-devel@lists.freedesktop.org, David Airlie , linux-rdma@vger.kernel.org, Yoshinori Sato , Tariq Toukan , Rich Felker , Leon Romanovsky , Jani Nikula , "J. Bruce Fields" , David Howells , intel-gfx@lists.freedesktop.org, Yishai Hadas , Joonas La To: Masahiro Yamada Return-path: Content-Disposition: inline In-Reply-To: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-sh-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, Oct 09, 2017 at 01:10:01AM +0900, Masahiro Yamada wrote: > Reducing the header dependency will help for speeding the kernel > build, suppressing unnecessary recompile of objects during > git-bisect'ing, etc. Well, does it? You could provide measurements showing before/after time to compile, or time to recompile after touching a header file that is included by radix-tree.h and not by radix-tree-root.h. Look at the files included (never mind the transitively included files): #include #include #include #include #include #include #include #include These are not exactly rare files to be included. My guess is that most of the files in the kernel end up depending on these files *anyway*, either directly or through some path that isn't the radix tree.