linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] [PATCH] XCHGADD ARM implementation
@ 2010-10-05 21:05 Ashwin Chaugule
  0 siblings, 0 replies; only message in thread
From: Ashwin Chaugule @ 2010-10-05 21:05 UTC (permalink / raw)
  To: linux-arm-kernel

The following patch is the ARM implementation for RWSEM_XCHGADD_ALGORITHM.
Based on David's rwsem benchmark from http://lwn.net/Articles/89191/ ,
I see a consistent 5-6% increase in the number of reads and writes taken as
compared to RWSEM_GENERIC_SPINLOCK on a dual core ARMv7. So far I have tested


numrd=1 numwr=1 numdg=1 do_sched=1

numrd=10 numwr=10 numdg=1 do_sched=1

numrd=20 numwr=20 numdg=1 do_sched=1


Can anyone else help to test this patch on other ARM systems ?

Cheers,
Ashwin



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Optimzed-ARM-RWSEM-algorithm.patch
Type: text/x-patch
Size: 5928 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101005/12e3b202/attachment.bin>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-05 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 21:05 [RFC] [PATCH] XCHGADD ARM implementation Ashwin Chaugule

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).