On Tue, 26 May 2020, Mikulas Patocka wrote:
quoted
Thanks, I'll have a look. And now that you have this update, please run
`size' on ALPHA_GENERIC `vmlinux', preferably monolithic, to see what the
difference is between `read*_relaxed' handlers `static inline' and keyed
with `*trivial_rw_*'.
Maciej
The patch with static inline:
text data bss dec hex filename
124207762 75953010 5426432 205587204 c410304 vmlinux
The patch with extern inline:
text data bss dec hex filename
124184422 75953474 5426432 205564328 c40a9a8 vmlinux
I'm not sure why data grew, but still the gain in size is maybe small,
yet it is there.
(I've sent version 7 of the patch because I misnamed the "write_relaxed"
function in version 6).
I have reviewed v7 now, thanks for your effort!
Maciej