I think that using a bitwise flag (use_timeout) could eventually
also improve performance because when the timeout expire we don' t
need to set to 0 a 64 bit memory area on 64bit arch. I am not 100%
sure though ;-).
On most RISC machines, bitfield extract/store is implemented as word
memory operations with the bit twiddle in the register. This is
actually specified by the ABI, sparc64 and alpha do this for example.
Later,
David S. Miller
davem@dm.cobaltmicro.com
-
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/