Re: [PATCH] genalloc: Make the avail variable an atomic64_t

From: Stephen Bates
Date: Thu Oct 26 2017 - 07:25:55 EST


> We have atomic_long_t for that. Please use it instead. It will be
> 64-bit on 64-bit archs, and 32-bit on 32-bit archs, which seems to
> fit your purpose here.

Thanks you Mathieu! Yes atomic_long_t looks perfect for this and addresses Danielâs concerns for 32 bit systems. Iâll prepare a v2 with that change.

Stephen