Re: negative dentries wasting ram

Oliver Neukum (oliver@neukum.name)
Fri, 31 May 2002 10:34:33 +0200


> as far I can see that negative dentries are not caching anything, they
> should be dropped immediatly, they even slowdown the lookups because
> they're hashed.

They cache things like this:
open("/usr/lib/locale/de_DE+euro/LC_MEASUREMENT", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/locale/de_DE@euro/LC_MEASUREMENT", O_RDONLY) = 3

Thus they are not really useless, they are just not usefully limited.
Thus IMHO you should look at the swap out path.

Regards
Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/