[lkml]   [1998]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] 2.1.131: i386 tweak to switch_to()
> "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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:46    [W:0.044 / U:12.684 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site