From: David Miller <davem@davemloft.net>
To: Sreenivasa.Honnur@neterion.com
Cc: netdev@vger.kernel.org, support@neterion.com
Subject: Re: [net-next-2.6 PATCH 8/9] vxge: Acquire correct lock based on interrupt context.
Date: Mon, 05 Oct 2009 05:37:59 -0700 (PDT) [thread overview]
Message-ID: <20091005.053759.74765905.davem@davemloft.net> (raw)
In-Reply-To: <Pine.GSO.4.10.10910050757300.9377-100000@guinness>
From: Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Date: Mon, 5 Oct 2009 07:58:42 -0400 (EDT)
> - Added macros that check if the thread is in interrupt context or not to
> acquire or release locks
>
> Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
There is nothing at all wrong with using irqsave/irqrestore spin lock
calls when you're already in an interrupt.
I don't see any reason for this change.
next prev parent reply other threads:[~2009-10-05 12:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 11:58 [net-next-2.6 PATCH 8/9] vxge: Acquire correct lock based on interrupt context Sreenivasa Honnur
2009-10-05 12:37 ` David Miller [this message]
2009-10-06 2:36 ` Ramkrishna Vepa
2009-10-06 3:19 ` Eric Dumazet
2009-10-06 3:23 ` Ramkrishna Vepa
2009-10-06 4:18 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2009-10-05 9:14 Sreenivasa Honnur
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=20091005.053759.74765905.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Sreenivasa.Honnur@neterion.com \
--cc=netdev@vger.kernel.org \
--cc=support@neterion.com \
/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