[PATCH V4] POWER: perf_event: Skip updating kernel counters if register value shrinks

Eric B Munson emunson at mgebm.net
Wed Apr 27 22:59:31 EST 2011


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
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110427/0e0577c6/attachment-0001.pgp>


More information about the Linuxppc-dev mailing list