Re: [RFC PATCH] contrib/plugins: avoid hanging program

2024-09-18 Thread Pierrick Bouvier
On 9/13/24 10:38, Alex Bennée wrote: Although we asks for instructions per second we work in quanta and that cannot be 0. Fail to load the plugin instead and report the minimum IPS we can handle. Signed-off-by: Alex Bennée Reported-by: Elisha Hollander --- contrib/plugins/ips.c | 5 + 1

Re: [RFC PATCH] contrib/plugins: avoid hanging program

2024-09-14 Thread Richard Henderson
On 9/13/24 10:38, Alex Bennée wrote: Although we asks for instructions per second we work in quanta and that cannot be 0. Fail to load the plugin instead and report the minimum IPS we can handle. Signed-off-by: Alex Bennée Reported-by: Elisha Hollander --- contrib/plugins/ips.c | 5 + 1 f

[RFC PATCH] contrib/plugins: avoid hanging program

2024-09-13 Thread Alex Bennée
Although we asks for instructions per second we work in quanta and that cannot be 0. Fail to load the plugin instead and report the minimum IPS we can handle. Signed-off-by: Alex Bennée Reported-by: Elisha Hollander --- contrib/plugins/ips.c | 5 + 1 file changed, 5 insertions(+) diff --gi