summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/support.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2005-09-07 00:17:04 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 01:57:24 +0200
commit486d46aefe7ded0d343e306be740edd972aff740 (patch)
treee750143e578503b77a66eff21595b16730506802 /drivers/pnp/support.c
parent[PATCH] sonypi: remove obsolete event (diff)
downloadlinux-486d46aefe7ded0d343e306be740edd972aff740.tar.xz
linux-486d46aefe7ded0d343e306be740edd972aff740.zip
[PATCH] optimize writer path in time_interpolator_get_counter()
Christoph Lameter <clameter@engr.sgi.com> When using a time interpolator that is susceptible to jitter there's potentially contention over a cmpxchg used to prevent time from going backwards. This is unnecessary when the caller holds the xtime write seqlock as all readers will be blocked from returning until the write is complete. We can therefore allow writers to insert a new value and exit rather than fight with CPUs who only hold a reader lock. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pnp/support.c')
0 files changed, 0 insertions, 0 deletions