All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Yinghai Lu <yinghai@kernel.org>, Ingo Molnar <mingo@elte.hu>,
	the arch/x86 maintainers <x86@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Can request_irq be called under spinlock?
Date: Thu, 12 Feb 2009 15:35:25 -0800	[thread overview]
Message-ID: <4994B23D.4040806@goop.org> (raw)
In-Reply-To: <alpine.LFD.2.00.0902122326100.16972@localhost.localdomain>

Thomas Gleixner wrote:
> I dont think that proc_mkdir conventions have changed
> recently. According to git blame fs/proc/generic.c:
>
> ^1da177e (Linus Torvalds     2005-04-16 15:20:36 -0700 580)     ent = kmalloc(sizeof(struct proc_dir_entry) + len + 1, GFP_KERNEL);
>
>   

I think its new that request_irq ends up calling proc_mkdir though.  But 
its moot now anyway; I cleaned up that code, and don't call request_irq 
under spinlock any more.

    J

  reply	other threads:[~2009-02-12 23:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 20:08 Can request_irq be called under spinlock? Jeremy Fitzhardinge
2009-02-12 22:28 ` Thomas Gleixner
2009-02-12 23:35   ` Jeremy Fitzhardinge [this message]
2009-02-13  3:38     ` Johannes Weiner
2009-02-13  9:52       ` Ingo Molnar
2009-02-13  9:23     ` Thomas Gleixner

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=4994B23D.4040806@goop.org \
    --to=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yinghai@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.