Re: [PATCH v4 2/2] x86/mce/amd: Fix memory leak when `threshold_create_bank()` fails
From: Ammar Faizi
Date: Wed Mar 02 2022 - 21:07:25 EST
On 3/3/22 8:58 AM, Alviro Iskandar Setiawan wrote:
hi sir, i think this can be improved again, we can avoid calling
this_cpu_read(mce_num_banks) twice if we pass the numbanks as an
argument, plz review the changes below
OK, nice improvement. I will fold this in...
--
Ammar Faizi