Re: [PATCH 1/3] ipc: convert ipc_namespace.count from atomic_t to refcount_t

From: Davidlohr Bueso
Date: Wed Jul 19 2017 - 18:54:45 EST


On Wed, 19 Jul 2017, Andrew Morton wrote:

I do rather dislike these conversions from the point of view of
performance overhead and general code bloat. But I seem to have lost
that struggle and I don't think any of these are fastpath(?).

Well, since we now have fd25d19 (locking/refcount: Create unchecked atomic_t
implementation), performance is supposed to be ok. It would be lovely to have
some actual numbers nonetheless.

Thanks,
Davidlohr