On Wed, Jul 3, 2013 at 1:59 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 03/07/2013 04:24, liu ping fan ha scritto: >>> > +- atomic operations in Linux are always on a 32-bit int type and >> 32-bit? int should be the integer type that the target processor is >> most efficient working with. > > Has Linux ever been ported to a machine where sizeof(int) != 4? (Honest > question. I don't know). > Do not know either:) But it depends on compiler, as for gcc, it would be 32-bits.
Regards, Pingfan > Paolo