Re: [PATCH] 2.1.131: i386 tweak to switch_to()

MANIK RAINA (rmanik@novell.com)
Wed, 16 Dec 1998 20:44:55 +0530 (IST)


>
> "cc" is condition flags; "memory" is clobbered each time you write to
> something that is not in the arguments. Clobbering "memory" is used to
> singal gcc that it can't assume that memory is unchanged (i.e., reuse a
> value in memory that just happens to be in a register), and also has the
> side effect that it acts as a barrier: No reordering of instructions will
> move stuff over the asm() because of the above.

further , memory as the cloberred operand means all registers are
assumed cloberred and their contents are assumed to be unreliable .

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