Re: MAXCPU preparations

From: Sean Bruno <seanbru_at_yahoo-inc.com>
Date: Mon, 27 Sep 2010 09:30:20 -0700
> 
> I would not include sys/param and would axe out the comment.
> 
> Just make sure anything compiles with these modifies eventually.
> 
> Thanks,
> Attilio
> 
> 

Ah, yes.  The include is completely pointless.  The value can be
assigned without it.

Sean

=== //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4
- /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h ====
_at__at_ -33,7 +33,7 _at__at_
  * Number of CPU slots in library-internal data structures.  This
should be
  * at least the value of MAXCPU from param.h.
  */
-#define        MEMSTAT_MAXCPU  64
+#define        MEMSTAT_MAXCPU  MAXCPU 
 
 /*
  * Amount of caller data to maintain for each caller data slot.
Applications
Received on Mon Sep 27 2010 - 14:31:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC