Date: Mon, 27 Sep 2010 09:30:20 -0700 From: Sean Bruno <seanbru@yahoo-inc.com> To: Attilio Rao <attilio@FreeBSD.org> Cc: "sbruno@freebsd.org" <sbruno@FreeBSD.org>, "current@freebsd.org" <current@FreeBSD.org> Subject: Re: MAXCPU preparations Message-ID: <1285605020.7245.18.camel@home-yahoo> In-Reply-To: <AANLkTik6zrh51G-0d7Nh=CgztGxsHxD_KOhjaeoBB0L2@mail.gmail.com> References: <1285601161.7245.7.camel@home-yahoo> <AANLkTik6zrh51G-0d7Nh=CgztGxsHxD_KOhjaeoBB0L2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1285605020.7245.18.camel>