From: <Srinivas_G_Gowda@Dell.com>
To: <linux-kernel@vger.kernel.org>, <minyard@acm.org>
Subject: Re: [PATCH] ipmi: This patch decreases the IPMI message transaction time in Interrupt mode
Date: Fri, 25 Nov 2011 17:51:58 +0530 [thread overview]
Message-ID: <4ECF8866.5030601@dell.com> (raw)
In-Reply-To: <4E9E60A1.4090408@dell.com>
[-- Attachment #1: Type: text/plain, Size: 50 bytes --]
On 10/19/2011 11:01 AM, Gowda, Srinivas G wrote:
[-- Attachment #2: 0001-ipmi-interrupt-fast-transaction.patch --]
[-- Type: text/plain, Size: 1081 bytes --]
Subject: [PATCH] This patch decreases the IPMI message transaction time in Interrupt mode
---------------------------------------------------------------------------------------------
What I have done this time is to directly call the handler
This patch considerably decreases the IPMI transaction time (cuts off ~9ms for a single ipmitool transaction).
Signed-off-by: Srinivas_Gowda <srinivas_g_gowda@dell.com>
---
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 9397ab4..5d1e0ca 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -932,8 +932,10 @@ static void sender(void *send_info,
spin_unlock_irqrestore(&smi_info->msg_lock, flags);
spin_lock_irqsave(&smi_info->si_lock, flags);
- if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL)
+ if (smi_info->si_state == SI_NORMAL && smi_info->curr_msg == NULL) {
start_next_msg(smi_info);
+ smi_event_handler(smi_info, 0);
+ }
spin_unlock_irqrestore(&smi_info->si_lock, flags);
}
prev parent reply other threads:[~2011-11-25 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 5:31 [PATCH] ipmi: This patch decreases the IPMI message transaction time in Interrupt mode Srinivas_G_Gowda
2011-11-25 12:21 ` Srinivas_G_Gowda [this message]
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=4ECF8866.5030601@dell.com \
--to=srinivas_g_gowda@dell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.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