lkml.org 
[lkml]   [2010]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf: fix possible divide-by-zero in perf_swevent_overflow()
Frederic Weisbecker wrote:
> On Fri, Aug 27, 2010 at 09:19:39PM +0800, DDD wrote:
>> Peter Zijlstra wrote:
>>> On Fri, 2010-08-27 at 20:21 +0800, DDD wrote:
>>>
>>>>>> Maybe the root cause was from kgdb/hw_breakpoint_layer,
>>>>> Yeah, I think there's a bug in the hw_breakpoint stuff, does something
>>>>> like the below fix it?
>>>> Thanks for your patch, but I still could reproduce the problem with
>>>> your patch.
>>> Frederic, any clue as to what makes hw breakpoints go funny and have
>>> last_period == 0?
>> Hi Peter,
>>
>> Thanks for you take care of it, I have got the root cause of it now.
>>
>> It is the kgdb using hw_breakpoint_layer's API problem, and I have a RFC
>> patch for it.(maybe it is not correctly), I will contact with Jason to
>> fix this problem.
>>
>> Thank you very much,
>> Dongdong
>
>
> Thanks!
>
> We are waiting for your patch then.

Hello Frederic,

Sorry for delay, the patch have been accepted by Jason.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c1bb9a9c1911036549c5cdfb23f32d7d20ffdc5a

Dongdong


\
 
 \ /
  Last update: 2010-10-25 07:55    [W:0.102 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site