From: Chen Guanqiao <chen.chenchacha@foxmail.com>
To: minyard@acm.org, openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Cc: Chen Guanqiao <chen.chenchacha@foxmail.com>
Subject: [PATCH 0/3] ipmi: msghandler: check the users and msgs causing the system to block
Date: Mon, 28 Mar 2022 00:47:41 +0800 [thread overview]
Message-ID: <tencent_BD6D4CB98B6D7FAA04F63D28F6457F10F40A@qq.com> (raw)
At present, a scenario has been found that there are too many ipmi messages in a
short period of time, and a large number of users and messages are blocked in
the ipmi modules, resulting in a large amount of system memory being occupied by
ipmi, and ipmi communication always fails.
Frequent calls ipmi and failure of hardware communication will cause this
exception. And ipmi has no way to detect and perceive this problem, therefore
it is impossible to located and perceived online.
This patch provides a method to view the current number of users and messages in
ipmi, and introduce a simple interface to clear the message queue.
Chen Guanqiao (3):
ipmi: Get the number of user through sysfs
ipmi: Get the number of message through sysfs
ipmi: add a interface to clean message queue in sysfs
drivers/char/ipmi/ipmi_msghandler.c | 159 ++++++++++++++++++++++++++++
1 file changed, 159 insertions(+)
--
2.25.1
next reply other threads:[~2022-03-27 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-27 16:47 Chen Guanqiao [this message]
2022-03-28 1:38 ` Corey Minyard
[not found] ` <tencent_071EACFAEE3F0CFA14A674C4603E39026F09@qq.com>
2022-03-28 15:45 ` Corey Minyard
2022-03-29 16:10 ` chenchacha
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=tencent_BD6D4CB98B6D7FAA04F63D28F6457F10F40A@qq.com \
--to=chen.chenchacha@foxmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
--cc=openipmi-developer@lists.sourceforge.net \
/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
all inboxes | Powered by JetHome®