RE: [tip:locking/core] refcount_t: Introduce a special purpose refcount type

From: Reshetova, Elena
Date: Tue Feb 14 2017 - 02:29:46 EST


> Subject: refcount: Out-of-line everything
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Date: Fri Feb 10 16:27:52 CET 2017
>
> Linus asked to please make this real C code.

Perhaps a completely stupid question, but I am going to ask anyway since only this way I can learn.
What a real difference it makes? Or are we talking more about styling and etc.? Is it because of size concerns?
This way it is certainly now done differently than rest of atomic and kref...

Best Regards,
Elena.