Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon
From: Wei Liu
Date: Sun Dec 08 2024 - 18:53:00 EST
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:
> > 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@xxxxxxxxx>
>
> Acked-by: Wei Liu <wei.liu@xxxxxxxxxx>
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.