diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-06 14:28:01 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:16:40 -0700 |
commit | 2b41e68a08548ce44b4d145900dab2bb04cd34f7 (patch) | |
tree | f2e96c9f150775e3673891d38a5af23d4246c826 /udevsend.c | |
parent | 482b0ecd8fcc2651c003c6f1ae9a2d3301ecf34a (diff) |
[PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a
file for every node in /dev/.udevdb/* This solved the problem
with deadlocking concurrent udev processes waiting for each other
to release the file lock under heavy load.
Diffstat (limited to 'udevsend.c')
-rw-r--r-- | udevsend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udevsend.c b/udevsend.c index c0c72b9c19..19922f3870 100644 --- a/udevsend.c +++ b/udevsend.c @@ -95,7 +95,7 @@ static void run_udev(const char *subsystem) switch (pid) { case 0: /* child */ - execl(UDEV_BIN, UDEV_BIN, subsystem, NULL); + execl(UDEV_BIN, "udev", subsystem, NULL); dbg("exec of child failed"); _exit(1); break; |