[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/7] xen/console: updates to rate-limiting
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: dmukhin@xxxxxxxx
- Date: Fri, 6 Feb 2026 12:24:17 -0800
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 205.220.161.53) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WXOe7x/puaksRUf8rmIsWMRfclVPj0Uj2TcLoptzsdY=; b=MCqsM9JTSmHsbCqvmFBO0i3EXqFQGz5NGakEngJ5ByQBwv3/jaQoTLUF/uK3Lau0ImTN8rEVwLNrDGGZVMI/XKgxE43IIdBnsZDajP+DL4NMKvlu5GZevDj92Qs0BM15PZ0xUr9JzPz1l0rqEBUgQDs1rw4f26wUqZK5o9Qty9adDLFNnVnTPlXMIrfG/5fqQqupCU7GUcN8dz8lJA2ctJt4AY1fhA5iV51Lntnir0Lvz9dT3yO41Zo3z5euGCC5Zeyr7TDacYovHZnNlV7jfaxVWHYo1nO3GQk4D8KhBUu3jPw/4b6ZORZ0bq90wzJw/4H9uS/4LDfi8jybOgXjJA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nU4aNXiqciSnyL2/yTOT09490bVd1jQ+juvdVLPKy5GjNKubhR3uacd7a7m4uQCOzfkKIhG2dA/eXLi0eIaSe0WvMP/zihEqNA+3Nu4Qz/2pbhRlymvZL2Fbq5TeZaEm7D8/vSqExfjrrZT0XFLgNTGYBS0reokTi2pVuBz7f6UlqnmSBAHWi55Z9JXqmLBMtBeSIP9tPm8hT80FwyaI6FImsZsmJU1uDDLKLGuUCisLSyVFcoo2hQEpTecxOlVugb0g1nfjtw17KIpF1ovsX/ul/+7fPxQ7J3ANbsjJqZkM3zXUMt+pHTc8LKvZEqrXzRn8jibor1tH7OrVN3zjeQ==
- Cc: andrew.cooper3@xxxxxxxxxx, anthony.perard@xxxxxxxxxx, jbeulich@xxxxxxxx, julien@xxxxxxx, michal.orzel@xxxxxxx, roger.pau@xxxxxxxxxx, sstabellini@xxxxxxxxxx, dmukhin@xxxxxxxx
- Delivery-date: Fri, 06 Feb 2026 20:24:56 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Pser-m365-app: SER-APP
The series introduces compile- and runtime-configuration for diagnostic
messages rate-limiting.
Patches 1-2, 6-7 are tiny cleanups.
Patch 3 introduces build-time rate-limiting controls.
Patch 4 introduces run-time rate-limiting controls.
Patch 5 is a fixup for the rate-limiter to adjust to new user-defined
rate-limiting parameters.
[1] Link to v1:
https://lore.kernel.org/xen-devel/20250725212235.753363-1-dmukhin@xxxxxxxx/
[2] CI run:
https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2311064179
Denis Mukhin (7):
xen/console: remove __printk_ratelimit() from lib.h
xen/console: use bool as return value from printk_ratelimit()
xen/console: add build-time rate-limiting controls
xen/console: add run-time rate-limiting controls
xen/console: correct leaky-bucket rate limiter
xen/console: use s_time_t for time accounting in do_printk_ratelimit()
xen/console: simplify printouts in do_printk_ratelimit()
docs/misc/xen-command-line.pandoc | 27 ++++++++++++++
xen/drivers/char/Kconfig | 25 +++++++++++++
xen/drivers/char/console.c | 62 ++++++++++++++++++-------------
xen/include/xen/lib.h | 4 +-
4 files changed, 90 insertions(+), 28 deletions(-)
--
2.52.0
|