Messages in this thread | | | Date | Thu, 4 Nov 2021 11:44:54 -0700 | Subject | Re: [PATCH] x86/sgx: Fix free page accounting | From | Reinette Chatre <> |
| |
Hi Tony,
On 11/4/2021 11:36 AM, Luck, Tony wrote: >> -/* The free page list lock protected variables prepend the lock. */ >> -static unsigned long sgx_nr_free_pages; >> +atomic_long_t sgx_nr_free_pages = ATOMIC_LONG_INIT(0); > > You accidentally lost the "static" here. This is still only accessed within this > one source file.
Thank you very much for catching this. Will fix.
> > Otherwise: > > Reviewed-by: Tony Luck <tony.luck@intel.com> >
Thank you very much.
Reinette
| |