[RFC PATCH 9/9] powerpc: rewrite local_t using soft_irq

Madhavan Srinivasan maddy at linux.vnet.ibm.com
Tue Jul 26 16:41:48 AEST 2016



On Tuesday 26 July 2016 11:23 AM, Nicholas Piggin wrote:
> On Mon, 25 Jul 2016 20:22:22 +0530
> Madhavan Srinivasan <maddy at linux.vnet.ibm.com> wrote:
>
>> https://lkml.org/lkml/2008/12/16/450
>>
>> Modifications to Rusty's benchmark code:
>>   - Executed only local_t test
>>
>> Here are the values with the patch.
>>
>> Time in ns per iteration
>>
>> Local_t		Without Patch		With Patch
>>
>> _inc			28		8
>> _add			28		8
>> _read			3		3
>> _add_return		28		7
>>
>> Tested the patch in a
>>   - pSeries LPAR (with perf record)
> Very nice. I'd like to see these patches get in. We can
> probably use the feature in other places too.

Thanks for review.

Maddy

> Thanks,
> Nick
>



More information about the Linuxppc-dev mailing list