Re: negative dentries wasting ram

Alexander Viro
2002-05-24T16:22:20Z

On Fri, 24 May 2002, Linus Torvalds wrote:

> However, you're right that it probably doesn't help to do this after
> "unlink()" - it's probably only worth doing when actually doing a
> "lookup()" that fails.

Depends on many things, including the amount of userland code that does
unlink(name);
open(name, O_CREAT|O_EXCL..., ...);