diff options
author | Kay Sievers <[email protected]> | 2011-05-05 13:32:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-05-06 17:52:32 -0700 |
commit | b50fa7c8077c625919b1e0a75fc37b825f024518 (patch) | |
tree | c266234fe50b388b475b03a09a25908b508c2293 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | aabb6e1531b0c78423dca6a39620892249fef7f9 (diff) |
reboot: disable usermodehelper to prevent fs access
In case CONFIG_UEVENT_HELPER_PATH is not set to "", which it
should be on every system, the kernel forks processes during
shutdown, which try to access the rootfs, even when the
binary does not exist. It causes exceptions and long delays in
the disk driver, which gets read requests at the time it tries
to shut down the disk.
This patch disables all kernel-forked processes during reboot to
allow a clean poweroff.
Cc: Tejun Heo <[email protected]>
Tested-By: Anton Guda <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions