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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6997C3F2D2 for ; Fri, 28 Feb 2020 19:33:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BAFF42469F for ; Fri, 28 Feb 2020 19:33:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725805AbgB1TdN (ORCPT ); Fri, 28 Feb 2020 14:33:13 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:56969 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725769AbgB1TdN (ORCPT ); Fri, 28 Feb 2020 14:33:13 -0500 Received: from callcc.thunk.org (guestnat-104-133-8-109.corp.google.com [104.133.8.109] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 01SJWnWV026369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 14:32:50 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 9D0D1421A71; Fri, 28 Feb 2020 14:32:48 -0500 (EST) Date: Fri, 28 Feb 2020 14:32:48 -0500 From: "Theodore Y. Ts'o" To: Matthew Wilcox Cc: Ian Kent , Andreas Dilger , Waiman Long , Alexander Viro , Jonathan Corbet , Luis Chamberlain , Kees Cook , Iurii Zaikin , Linux Kernel Mailing List , Linux FS Devel , linux-doc@vger.kernel.org, Mauro Carvalho Chehab , Eric Biggers , Dave Chinner , Eric Sandeen Subject: Re: [PATCH 00/11] fs/dcache: Limit # of negative dentries Message-ID: <20200228193248.GE101220@mit.edu> References: <20200226161404.14136-1-longman@redhat.com> <20200226162954.GC24185@bombadil.infradead.org> <2EDB6FFC-C649-4C80-999B-945678F5CE87@dilger.ca> <9d7b76c32d09492137a253e692624856388693db.camel@themaw.net> <20200228033412.GD29971@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200228033412.GD29971@bombadil.infradead.org> Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, Feb 27, 2020 at 07:34:12PM -0800, Matthew Wilcox wrote: > > The canonical argument in favour of negative dentries is to improve > application startup time as every application searches the library path > for the same libraries. The other canonical example is C compilers that need to search for header files along the include search path: % strace -o /tmp/st -f gcc -o /tmp/hello /tmp/hello.c -I.. -I../.. % grep open /tmp/st | grep stdio.h | grep ENOENT | wc -l 6 - Ted