All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Re: [Patch] use dynamic spinlock initialisation in
@ 2006-04-18 17:08 Matt Mackall
  0 siblings, 0 replies; only message in thread
From: Matt Mackall @ 2006-04-18 17:08 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

On Tue, Apr 18, 2006 at 07:04:19PM +0200, Eric Sesterhenn wrote:
>  static int __init rand_initialize(void)
>  {
> +	spin_lock_init(&input_pool.lock);
> +	spin_lock_init(&blocking_pool.lock);
> +	spin_lock_init(&nonblocking_pool.lock);
>  	init_std_data(&input_pool);
>  	init_std_data(&blocking_pool);
>  	init_std_data(&nonblocking_pool);

Something about this hunk suggests a better way to do this.

-- 
Mathematics is the supreme nostalgia of our time.

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-18 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 17:08 [KJ] Re: [Patch] use dynamic spinlock initialisation in Matt Mackall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.