[PATCH] locking/rwsem: Remove arch specific rwsem files

Waiman Long longman at redhat.com
Tue Feb 12 00:32:57 AEDT 2019


On 02/11/2019 05:39 AM, Ingo Molnar wrote:
> * Ingo Molnar <mingo at kernel.org> wrote:
>
>> Sounds good to me - I've merged this patch, will push it out after 
>> testing.
> Based on Peter's feedback I'm delaying this - performance testing on at 
> least one key ll/sc arch would be nice indeed.
>
> Thanks,
>
> 	Ingo

Yes, I will twist the generic code to generate better code.

As I said in the commit log, only x86, ia64 and alpha provide assembly
code to replace the generic C code. The ll/sc archs that I have access
to (ARM64, ppc) are all using the generic C code anyway. I actually had
done some performance measurement on both those platforms and didn't see
any performance difference. I didn't include them as they were using
generic code before. I will rerun the tests after I twisted the generic
C code.

Thanks,
Longman




More information about the Linuxppc-dev mailing list