Increase number of max semaphores to fix OOM crashes on some systems
ivanhu
ivan.hu at canonical.com
Wed Jun 28 05:40:49 UTC 2023
Hi Mario,
Thanks!
Could you please also add the "Signed-off-by" line for this patch?
Cheers,
Ivan
On 6/28/23 12:19, Mario Limonciello wrote:
> Fixes: https://github.com/fwts/fwts/issues/4
> Link: https://bugs.launchpad.net/fwts/+bug/2025193
> ---
> src/libfwtsacpica/fwts_acpica.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/libfwtsacpica/fwts_acpica.c b/src/libfwtsacpica/fwts_acpica.c
> index d8bc54a6..c174f71d 100644
> --- a/src/libfwtsacpica/fwts_acpica.c
> +++ b/src/libfwtsacpica/fwts_acpica.c
> @@ -50,7 +50,7 @@
>
> #define ACPI_MAX_INIT_TABLES (64) /* Number of ACPI tables */
>
> -#define MAX_SEMAPHORES (1024) /* For semaphore tracking */
> +#define MAX_SEMAPHORES (2048) /* For semaphore tracking */
> #define MAX_THREADS (128) /* For thread tracking */
>
> #define MAX_WAIT_TIMEOUT (20) /* Seconds */
More information about the fwts-devel
mailing list