[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_BD6D4CB98B6D7FAA04F63D28F6457F10F40A@qq.com>
Date: Mon, 28 Mar 2022 00:47:41 +0800
From: Chen Guanqiao <chen.chenchacha@...mail.com>
To: minyard@....org, openipmi-developer@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Cc: Chen Guanqiao <chen.chenchacha@...mail.com>
Subject: [PATCH 0/3] ipmi: msghandler: check the users and msgs causing the system to block
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
Powered by blists - more mailing lists