Thread (31 messages) 31 messages, 3 authors, 2016-07-28

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

flat view

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2016-07-26 05:53:09

On Mon, 25 Jul 2016 20:22:22 +0530
Madhavan Srinivasan [off-list ref] 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,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help