diff options
author | Olaf Hering <olaf@aepfle.de> | 2024-12-08 23:47:17 +0000 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2024-12-09 18:44:15 +0000 |
commit | 175c71c2aceef173ae6d3dceb41edfc2ac0d5937 (patch) | |
tree | cb5427974a28e5ed1d5936aa8ce5e33c7e998ab3 /drivers/platform/x86/intel/pmt/class.c | |
parent | becc7fe329c09a7744fa908fca83418fa94a45a0 (diff) | |
download | linux-175c71c2aceef173ae6d3dceb41edfc2ac0d5937.tar.gz linux-175c71c2aceef173ae6d3dceb41edfc2ac0d5937.tar.bz2 linux-175c71c2aceef173ae6d3dceb41edfc2ac0d5937.zip |
tools/hv: reduce resource usage in hv_kvp_daemon
hv_kvp_daemon uses popen(3) and system(3) as convinience helper to
launch external helpers. These helpers are invoked via a
temporary shell process. There is no need to keep this temporary
process around while the helper runs. Replace this temporary shell
with the actual helper process via 'exec'.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/linux-hyperv/20241202123520.27812-1-olaf@aepfle.de/
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions