Re: [PATCH V4] POWER: perf_event: Skip updating kernel counters ifregister value shrinks

From: Eric B Munson
Date: Wed Apr 27 2011 - 08:59:39 EST


On Wed, 27 Apr 2011, David Laight wrote:

> > But it isn't, and it doesn't have trouble with 2^32 - 1.
>
> what about:
> prev = 0x00000001
> val = 0xffffffff

Result is 0xfffffffe and we are fine.
>
> David
>
>

Attachment: signature.asc
Description: Digital signature