public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mario Smarduch <mario.smarduch@huawei.com>
To: <linux-kernel@vger.kernel.org>
Subject: Fwd: show_interrupts() after free_irq issue 3.10-rc4?
Date: Fri, 14 Jun 2013 09:57:00 +0200	[thread overview]
Message-ID: <51BACCCC.2000107@huawei.com> (raw)
In-Reply-To: <51BACBCB.1030509@huawei.com>


I've been working with device passthrough & irq
on armv7 after disassociating the device from guest
free_irq() is executed on host. Display of /proc/interrupts
still shows the IRQ info with no irq name associated,
and there is no irq_action associated with the IRQ.
'show_interrupts()' in 'kernel/irq/proc.c' displays
info on the IRQ due to prior stats accumulated.
Few other arch specific ones only on irq_action.

Is there some specific reason for that? To me it
appears misleading to display dormant IRQ info. 
For the end user - use case like above or unloading
driver and seeing the irq show up is confusing as well.
Also not sure what you gain by displaying old IRQ info.

Please cc on responses.

<Sorry for the double copy misspelled mailing list>

- Mario
 




           reply	other threads:[~2013-06-14  8:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <51BACBCB.1030509@huawei.com>]

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=51BACCCC.2000107@huawei.com \
    --to=mario.smarduch@huawei.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox