Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon
From: Wei Liu <wei.liu@kernel.org>
Date: 2024-12-08 23:52:55
Also in:
lkml
From: Wei Liu <wei.liu@kernel.org>
Date: 2024-12-08 23:52:55
Also in:
lkml
On Sat, Dec 07, 2024 at 07:18:17AM +0000, Wei Liu wrote:
On Mon, Dec 02, 2024 at 01:35:16PM +0100, Olaf Hering wrote:quoted
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 <redacted>Acked-by: Wei Liu <wei.liu@kernel.org>
There's one conflict caused by an earlier patch by Vitaly. I've resolved the conflict and applied the patch to hyperv-fixes. Please check the final result. Thanks, Wei.