lkml.org 
[lkml]   [2008]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] seqlock: serialize against writers
Andi Kleen wrote:
> Gregory Haskins <ghaskins@novell.com> writes:
>
>
>> *Patch submitted for inclusion in PREEMPT_RT 26-rt4. Applies to 2.6.26.3-rt3*
>>
>> Hi Ingo, Steven, Thomas,
>> Please consider for -rt4. This fixes a nasty deadlock on my systems under
>> heavy load.
>>
>
> Does this even work under x86-64? x86-64 uses seqlocks in user space
> in its vsyscalls. And read_lock() definitely doesn't work there because
> it writes.
>
> You would need at least to disable vsyscall gettimeofday(), making
> it much much slower.
>
> Perhaps you tested on one of the systems where the vsyscalls need
> to fallback for other reasons? (e.g. one using pmtimer for timing).
>
> -Andi
>

Im running it on a x86_64 box as we speak. How can I tell if there is a
certain mode that is permitting this?

-Greg

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2008-08-29 18:15    [W:0.923 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site