[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_9D994CB589E97D7605023F5CF51D7DA4F50A@qq.com>
Date: Wed, 30 Mar 2022 00:12:38 +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 v2 0/4] add limit on the total number of users and oustanding messages
In some case, ipmi is frequently accessed, and the communication of bmc
device is blocked, ipmi will consume a large amount of memory.
This patch provides some limits for the number of user and messages in
ipmi.
In addition, this patch also provides a method to view the current number
of users and messages in ipmi, Used to diagnose and troubleshoot issues.
and introduce a simple interface to clear the message queue.
Changelog v2:
- Add a limit on the number of users
- Add a less rigid limit on the number of oustanding messages
- The interface for viewing the number of users and messages is retained
- The interface for cleanup messages is retained
Chen Guanqiao (4):
ipmi: msghandler: Add a limit for the number of users
ipmi: msghandler: Add a limit for the number of messages
ipmi: msghandler: Get the number of users and messages through sysfs
ipmi: msghandler: Add a interface to clean message queue in sysfs
drivers/char/ipmi/ipmi_msghandler.c | 207 ++++++++++++++++++++++++++++
1 file changed, 207 insertions(+)
--
2.25.1
Powered by blists - more mailing lists