Re: [PATCH] [8/7] oprofile - dcookies need to use u32

From: John Levon (
Date: Wed Oct 16 2002 - 19:57:28 EST

On Wed, Oct 16, 2002 at 02:38:43PM -0700, David S. Miller wrote:

> I don't understand why using a bigger type is not an option.
> Why not just use u64? That would work too.

The oprofile event buffer is unsigned long [], and stores cookie values.
Surely that would require us to use u64 there too, doubling the buffer
sizes on 32-bit machines ?

I suppose we could do so magic to spread the cookie value across two
buffer entries if necessary, but that's ugly...


"It's a cardboard universe ... and if you lean too hard against it, you fall
	- Philip K. Dick 
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:31 EST