lkml.org 
[lkml]   [2002]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [8/7] oprofile - dcookies need to use u32
On Wed, Oct 16, 2002 at 05:55:15PM -0700, David S. Miller wrote:

> I suppose we could do so magic to spread the cookie value across two
> buffer entries if necessary, but that's ugly...
>
> True.
>
> What if you could query the cookie size at runtime?

Not sure what you mean here. The cookie is passed in the syscall, so has
to be fixed-size no matter what, right ?

> Really, if you make it long it's going to be impossible
> to support this in 32/64 environments (ppc/sparc/mips/x86_64/
> ia64/etc.)

Sure ... I suppose I'll implement both (allocation of unique ID vs. the
above) and see which is least ugly.

thanks
john
--
"It's a cardboard universe ... and if you lean too hard against it, you fall
through."
- Philip K. Dick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.397 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site