ACPI / APEI: Make estatus pool allocation a static size
Adding new NMI-like notifications duplicates the calls that grow and shrink the estatus pool. This is all pretty pointless, as the size is capped to 64K. Allocate this for each ghes and drop the code that grows and shrinks the pool. Suggested-by: Borislav Petkov <bp@suse.de> Signed-off-by: James Morse <james.morse@arm.com> Reviewed-by: Borislav Petkov <bp@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Dieser Commit ist enthalten in:

committet von
Rafael J. Wysocki

Ursprung
e147133a42
Commit
fb7be08f1a
@@ -211,7 +211,7 @@ static int __init hest_ghes_dev_register(unsigned int ghes_count)
|
||||
if (rc)
|
||||
goto err;
|
||||
|
||||
rc = ghes_estatus_pool_init();
|
||||
rc = ghes_estatus_pool_init(ghes_count);
|
||||
if (rc)
|
||||
goto err;
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren