MAXCPU preparations
Sean Bruno
seanbru at yahoo-inc.com
Mon Sep 27 16:31:32 UTC 2010
>
> 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 ====
@@ -33,7 +33,7 @@
* 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
More information about the freebsd-current
mailing list