summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/mdevd.html4
-rw-r--r--src/mdevd/mdevd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html
index 0ea61bb..f5ae5ee 100644
--- a/doc/mdevd.html
+++ b/doc/mdevd.html
@@ -91,8 +91,8 @@ readiness</a>. <em>notif</em> cannot be lesser than 3.
If this option is not given, no readiness notification is sent. </li>
<li> <tt>-b</tt>&nbsp;<em>kbufsz</em>&nbsp;: try and reserve a kernel buffer of
<em>kbufsz</em> bytes for the netlink queue. Too large a buffer wastes kernel memory;
-too small a buffer risks losing events. The default is 65536 (which is reasonable
-for average systems). </li>
+too small a buffer risks losing events. The default is 196608
+(192 kB, which is on the large side for average systems). </li>
<li> <tt>-n</tt>&nbsp;: dry run. mdevd will not create or delete
device nodes, and it will not spawn commands. Instead, it will print to stdout
the actions it would have performed. </li>
diff --git a/src/mdevd/mdevd.c b/src/mdevd/mdevd.c
index 8671600..162a6f5 100644
--- a/src/mdevd/mdevd.c
+++ b/src/mdevd/mdevd.c
@@ -987,7 +987,7 @@ int main (int argc, char const *const *argv)
char const *configfile = "/etc/mdev.conf" ;
iopause_fd x[2] = { { .events = IOPAUSE_READ }, { .events = IOPAUSE_READ } } ;
unsigned int notif = 0 ;
- unsigned int kbufsz = 65536 ;
+ unsigned int kbufsz = 196608 ;
char const *slashdev = "/dev" ;
PROG = "mdevd" ;
{