From: Matthew Wilcox <matthew@wil.cx>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] hotplug
Date: Mon, 09 Jan 2006 15:11:10 +0000 [thread overview]
Message-ID: <20060109151110.GN19769@parisc-linux.org> (raw)
In-Reply-To: <200601091133.53146.cneira@srb.cl>
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
On Mon, Jan 09, 2006 at 11:33:52AM +0000, carlos neira wrote:
> Replaced lock_kernel() with spinlocks , compile tested ok , using it.
I can only imagine you're either doing this with a uniprocessor
kernel or don't actually have the hardware in question.
> - lock_kernel();
> + spin_lock(&event_thread);
> daemonize("cpci_hp_eventd");
> - unlock_kernel();
> + spin_unlock(&event_thread);
void daemonize(const char *name, ...)
{
[...]
down(&tty_sem);
current->signal->tty = NULL;
up(&tty_sem);
The first line of down() is
might_sleep();
[-- 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
next prev parent reply other threads:[~2006-01-09 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-09 11:33 [KJ] hotplug carlos neira
2006-01-09 15:11 ` Matthew Wilcox [this message]
2006-01-09 16:41 ` Alexey Dobriyan
2006-01-09 17:05 ` Greg KH
2006-01-09 17:32 ` Kristen Accardi
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=20060109151110.GN19769@parisc-linux.org \
--to=matthew@wil.cx \
--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.