# \[uml-devel\] Re: \[patch 1/1\] unified spinlock initialization arch/um/drivers/port\_kern.c

- From: Russell King \<hidden\>
- Date: 2005-03-09 17:12:52 
- List: linux-um
- Page: https://ratatoskr.run/linux-um/2005/03/717543
- Thread: https://ratatoskr.run/lkml/2005/03/717543/t.md

```text
On Wed, Mar 09, 2005 at 10:42:33AM +0100, blaisorblade@yahoo.it wrote:
> 
> From: <redacted>
> Cc: <redacted>, <redacted>, <redacted>, <redacted>
> 
> 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   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
```
