Re: [PATCH] Lightweight userspace semaphores...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 25 Feb 2002 17:31:26 +0000 (GMT)


> > unlink()
>
> Sure, but that, together with making up a unique temporary name etc just
> adds extra overhead for no actual gain.

As opposed to adding special cases to the kernel which are unswappable and
stand to tangle up bits of the generic vfs - eg we would have a vma with
a vm_file but that file would not be in the dcache ?

Is it really worth it. For temporary files unix has never adopted a tmpfile()
syscall because nobody has ever found mkstemp() a paticularly critical path
that justified it
-
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/