OK.
But this was not optimisation, just code re-use.
Actually, I don't understand why __down_common/__mutex_lock_common are inlines,
perhaps it is better to shrink .text instead.
For example, "size kernel/mutex.o" reports
2715 0 12 2727 aa7 kernel/mutex.o
with __mutex_lock_common() uninlined, we have
1565 0 12 1577 629 kernel/mutex.o
the difference is more than K.
Oleg.
--