Re: [patch 1/1] unified spinlock initialization arch/um/drivers/port_kern.c

From: Russell King
Date: Wed Mar 09 2005 - 12:15:22 EST

On Wed, Mar 09, 2005 at 10:42:33AM +0100, blaisorblade@xxxxxxxx wrote:
> From: <domen@xxxxxxxxxxxx>
> Cc: <user-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx>, <domen@xxxxxxxxxxxx>, <amitg@xxxxxxxxxxxxxx>, <gud@xxxxxxx>
> Unify the spinlock initialization as far as possible.

Are you sure this is really the best option in this instance?
Sometimes, static data initialisation is more efficient than
code-based manual initialisation, especially when the memory
is written to anyway.

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at