mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
[PATCH] disable logging for udevstart
The slow logging facilites on some systems are a reason for the reported slowness of udevstart. On one of my boxes udevstart is down from 9 second to 0.3 seconds.
This commit is contained in:
parent
7efa217db0
commit
7225821d63
4
Makefile
4
Makefile
@ -283,8 +283,8 @@ $(SENDER).o: $(GEN_HEADERS) $(HOST_PROGS)
|
||||
$(STARTER).o: $(GEN_HEADERS) $(HOST_PROGS)
|
||||
$(WAIT).o: $(GEN_HEADERS) $(HOST_PROGS)
|
||||
|
||||
$(ROOT): $(LIBC) $(ROOT).o $(STARTER).o $(OBJS) $(HEADERS) $(GEN_MANPAGES)
|
||||
$(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o udevstart.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
|
||||
$(ROOT): $(LIBC) $(ROOT).o udev_start.o $(OBJS) $(HEADERS) $(GEN_MANPAGES)
|
||||
$(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o udev_start.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
|
||||
$(QUIET) $(STRIPCMD) $@
|
||||
|
||||
$(TESTER): $(LIBC) $(TESTER).o $(OBJS) $(HEADERS)
|
||||
|
1
udev.c
1
udev.c
@ -143,6 +143,7 @@ int main(int argc, char *argv[], char *envp[])
|
||||
switch(act_type) {
|
||||
case UDEVSTART:
|
||||
dbg("udevstart");
|
||||
udev_log = 0;
|
||||
namedev_init();
|
||||
retval = udev_start();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user