Re: patent on O_ATOMICLOOKUP [Re: [PATCH] loopable tmpfs (2.4.17)]

Alan Cox (alan@lxorguk.ukuu.org.uk)
26 May 2002 22:33:14 +0100


On Sun, 2002-05-26 at 20:06, Larry McVoy wrote:
> > there are many different implementations which are very different but
> > which in pure mathematics are strictly identical.
>
> Is this theory or practice, Alan? We're not talking about pure copyright,
> we're also discussing derived works. And anyway, I'd like you to cite a
> case where two independently developed substantial chunks of code compile
> to the same expression tree. I'm sure you can find strcmp() implementations
> which do, but I'd be surprised if you could find a stdio implementation that
> was, and you sure as hell won't find two file system implementations that do.
> Righ? Or do you have a counter example?

I was very careful to say "pure mathematics". With perfect optimisation
all implementations of the same algorithm should produce the same parse
tree.

I can think of lots of trivial counter examples. The most obvious of
which is that given any set beginning pascal type homework the parse
tree of all the implementations with the noise/comments/names filtered
out is probably going to be identical.

The same exercise on library implementations of qsort, strcmp and so
forth are probably also going to show that.

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