Tony,

On Tue, May 13, 2008 at 10:36 PM, Tony Ernst <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  The attached patch that sets PFMON_MAX_CPUS based on __CPU_SETSIZE.
>  I thought this had been changed a while ago, but now I see that it's
>  hardcoded to 2048.  Hardcoding it to 2048 will cause it to fail for
>  larger machines.
>
That makes sense. I remember that at the time I changed that it was
hard to figure out
which glibc version was needed to have a stable cpu_set support.

Always bigger.....

>  It makes more sense to set it to __CPU_SETSIZE from glibc, just like
>  other applications do.  On large machines, __CPU_SETSIZE will always
>  be set large enough; otherwise there would be glibc problems.
>

The patch is missing from the message, unfortunately.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to