All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] Re: [Patch] use dynamic spinlock initialisation in
Date: Tue, 18 Apr 2006 17:08:34 +0000	[thread overview]
Message-ID: <20060418170834.GG15445@waste.org> (raw)

[-- 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

                 reply	other threads:[~2006-04-18 17:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060418170834.GG15445@waste.org \
    --to=mpm@selenic.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.