From affccf34a5fa6571d5e08908364e817abcef6fe1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Apr 2025 05:53:53 +0000 Subject: Move to new system Signed-off-by: Laurent Bercot --- doc/index.html | 10 +++++----- doc/upgrade.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/index.html b/doc/index.html index ffa184f..4743ca0 100644 --- a/doc/index.html +++ b/doc/index.html @@ -59,8 +59,8 @@ uncontrollable log file growth). By contrast, mdevd logs to stderr and its messages can be handled by any log infrastructure such as the one provided by a supervision suite.
  • Better memory efficiency: mdev -d uses its own environment -(via putenv() -and unsetenv()) +(via putenv() +and unsetenv()) to store uevent data for each event. This implies repeated allocations of heap memory. By contrast, mdevd does not use its own environment - it only uses heap memory to compile its regular expressions, which only happens @@ -69,14 +69,14 @@ memory it uses is committed in the stack, and it will never require more. mdevd cannot fail due to lack of memory while it is processing events.
  • Better speed: mdev -d parses its config file for every event it receives, and has to perform expensive operations such as -getpwnam() +getpwnam() every time it receives an event (which can add up to hundreds of times at boot!). By contrast, mdevd only parses its config file when it starts - or when it is told to read it again by a SIGHUP; the event processing is streamlined, it does not involve any parsing or any kind of expensive operation - so it is significantly faster. Additionally, unlike mdev, mdevd does not fork its helper scripts — it uses -posix_spawn +posix_spawn instead, which is a lot faster.
  • Independence from busybox: mdev is part of the busybox software. It is an advantage @@ -106,7 +106,7 @@ The Linux kernel must be 2.6.10 or later.
  • requirement if you link against the shared version of the skalibs library.
  • Optionally: nsss -version 0.2.0.6 or later. It's a build-time and run-time requirement, if +version 0.2.1.0 or later. It's a build-time and run-time requirement, if you use the --enable-nsss option to configure; but you would only do that if you're replacing nsswitch on your whole system, and most people are not.
  • diff --git a/doc/upgrade.html b/doc/upgrade.html index 1ef4bf7..3cb49a5 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -24,7 +24,7 @@
  • skalibs dependency bumped to 2.14.4.0.
  • nsss -optional dependency bumped to 0.2.0.6.
  • +optional dependency bumped to 0.2.1.0.
  • execline optional dependency bumped to 2.9.7.0.
  • -- cgit v1.3.1