Re: negative dentries wasting ram

From: Alexander Viro (viro@math.psu.edu)
Date: Fri May 24 2002 - 11:22:17 EST


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..., ...);

-
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/



This archive was generated by hypermail 2b29 : Fri May 31 2002 - 22:00:13 EST