public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Schwartz <davids@webmaster.com>
To: <linux-kernel@vger.kernel.org>
Subject: Re: negative dentries wasting ram
Date: Fri, 24 May 2002 13:44:03 -0700	[thread overview]
Message-ID: <20020524204404.AAA21553@shell.webmaster.com@whenever> (raw)
In-Reply-To: <20020524105348.T13411@devserv.devel.redhat.com>


>In glibc 2.3 this will be open("/usr/lib/locale/locale-archive", ), so
>negative dentries won't be useful for glibc locale handling (that
>doesn't mean negative dentries won't be useful for other things, including
>exec?p or searching libraries if $LD_LIBRARY_PATH is used).
>
>    Jakub

	Web servers tend to look for all kinds of things that don't exist. For 
example, if you hit "http://www.mydomain.com/foo" is there a file called 
"foo" in the root document directory? Or is "foo" a directory with an 
"index.html" file in it?

	And what if index files can be "index.html", "index.htm", or "index.cgi"? A 
single URL hit can easily involve looking for five files that don't exist 
before you find the one that does.

	Of course, some web servers have their own internal URL->file mapping 
caches. The ideal solution would be to get rid of the negative dentries we 
aren't using (much? recently?) when we want to get some more free memory.

	DS



  reply	other threads:[~2002-05-24 20:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-24  7:16 negative dentries wasting ram Andrea Arcangeli
2002-05-24  8:10 ` Andreas Dilger
2002-05-24 15:36   ` Andrea Arcangeli
2002-05-24 16:12     ` Alexander Viro
2002-05-24 16:21       ` Andrea Arcangeli
2002-05-24 16:24         ` Alexander Viro
2002-05-24 14:43 ` Linus Torvalds
2002-05-24 14:51   ` David S. Miller
2002-05-24 14:53   ` Jakub Jelinek
2002-05-24 20:44     ` David Schwartz [this message]
2002-05-25 17:33     ` Florian Weimer
2002-05-24 15:54   ` Andrea Arcangeli
2002-05-24 16:22   ` Alexander Viro
2002-05-24 16:29     ` Linus Torvalds
2002-05-24 16:39       ` Andrea Arcangeli
2002-05-24 17:04         ` Alexander Viro
2002-05-24 17:06           ` Alexander Viro
2002-05-24 17:55           ` Andrea Arcangeli
2002-05-24 18:00             ` Alexander Viro
2002-05-24 18:58               ` Andrea Arcangeli
2002-05-24 19:04                 ` Alexander Viro
2002-05-24 19:43                   ` Andrea Arcangeli
2002-05-24 19:55                     ` Alexander Viro
2002-05-24 20:36                       ` Andrea Arcangeli
2002-05-24 22:14                         ` Jan Harkes
2002-05-24 22:31                           ` Andrea Arcangeli
2002-05-26  8:06             ` Eric W. Biederman
2002-05-24 17:00       ` Alexander Viro
2002-05-24 18:36         ` Mark Mielke
2002-05-31  8:34 ` Oliver Neukum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020524204404.AAA21553@shell.webmaster.com@whenever \
    --to=davids@webmaster.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox