Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-08 Thread Olaf Hering
Sun, 8 Dec 2024 23:52:54 + Wei Liu : > 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. Commit b8ea8cd0fbd358feee3e9172c5ef8afd671e0d11 looks good, thanks. Olaf pgp7RZdDSAY7I.pgp

Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-08 Thread Wei Liu
On Sat, Dec 07, 2024 at 07:18:17AM +, 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 t

Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-06 Thread Wei Liu
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. Rep

[PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-02 Thread Olaf Hering
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'.