From: minyard@acm.org
To: Chen Guanqiao <chen.chenchacha@foxmail.com>
Cc: openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] ipmi: add limits on users and messages
Date: Tue, 29 Mar 2022 13:33:36 -0500 [thread overview]
Message-ID: <20220329183340.471474-1-minyard@acm.org> (raw)
I had actually already started working on a set of patches for this, but
I've incorporated some of your work.
There were problems with your patches:
* The limits on messages were global, not per-user. This could cause
unfairness in the interface.
* The counts were on the BMC, not on the interface. The interface is
the right place to put them, as that's where the messages flow
through, and it's easier to do.
* Going through all the messages to get the count is kind of inefficient
to do on a per-send basis. Keep a count instead.
* The ability to flush messages is a no-go. The IPMI driver guarantees
responses and internal kernel users (and external users) rely on that
property. A flush could break the watchdog or ACPI. The messages
will just have to time out.
This is my proposal for your review.
Thanks,
-corey
next reply other threads:[~2022-03-29 18:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 18:33 minyard [this message]
2022-03-29 18:33 ` [PATCH 1/4] ipmi: Add a limit on the number of users that may use IPMI minyard
2022-03-29 18:33 ` [PATCH 2/4] ipmi: Limit the number of message a user may have outstanding minyard
2022-03-30 14:44 ` chenchacha
2022-03-30 14:58 ` Corey Minyard
2022-03-29 18:33 ` [PATCH 3/4] ipmi: Add a sysfs interface to view the number of users minyard
2022-03-29 18:33 ` [PATCH 4/4] ipmi: Add a sysfs count of total outstanding messages for an interface minyard
2022-03-30 14:46 ` [PATCH 0/4] ipmi: add limits on users and messages 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=20220329183340.471474-1-minyard@acm.org \
--to=minyard@acm.org \
--cc=chen.chenchacha@foxmail.com \
--cc=linux-kernel@vger.kernel.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®