Re: [patch] my inode diff against 2.2.2-pre4

Linus Torvalds (torvalds@transmeta.com)
17 Feb 1999 17:50:52 GMT


In article <Pine.LNX.3.96.990217170800.1637C-100000@laser.bogus>,
Andrea Arcangeli <andrea@e-mind.com> wrote:
>I don't understand why `found = 1' is needed. The asm code generated is
>the same (with a `movl $1, %edx' of difference) with both egcs and gcc.

Not with my version of gcc.

Think "stupid liveness analysis", and you'll see why it makes a
difference for some compilers.

>The first hunk of the patch is a static declaration.

And is buggy - it starts complaining on UP. Try it and see.

Linus

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