[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwts-devel
Subject:    Re: Increase number of max semaphores to fix OOM crashes on some systems
From:       Mario Limonciello <mario.limonciello () amd ! com>
Date:       2023-06-28 12:12:45
Message-ID: 2d0d9c7e-fafc-3e7f-abe8-f17b3875fa70 () amd ! com
[Download RAW message or body]

On 6/28/23 00:40, ivanhu wrote:
> 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
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
>> ---
>>   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 */


-- 
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic