lkml.org 
[lkml]   [2011]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] x86: avoid atomic operation in test_and_set_bit_lock if possible

* Andi Kleen <andi@firstfloor.org> wrote:

> > Could you please try the patch below?
>
> This is very likely not a good idea. I heard some systems can hang
> if you overwrite their PMUs this way and you're unlucky enough :-(

Wrong - in that case all kernels from 2.6.32 to 2.6.38 would already be locking
up. This patch simply restores behavior to essentially what it was before
v2.6.38 - but also adds the warning.

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-03-25 20:29    [from the cache]
©2003-2011 Jasper Spaans