Renaming cnt to vm_cnt

Peter Wemm peter at wemm.org
Fri Mar 14 17:14:15 UTC 2014


On Fri, Mar 14, 2014 at 7:24 AM, Bryan Drewery <bdrewery at freebsd.org> wrote:
> On 2014-03-14 09:20, Bryan Drewery wrote:
>>
>> Hi,
>>
>> http://people.freebsd.org/~bdrewery/patches/cnt_vm_cnt.diff
>>
>> I would like to rename the vmmeter.h global cnt to vm_cnt.
>> It is quite a generic variable to be polluting the global
>> namespace. The variable is only defined in _KERNEL, so
>> there is no userland/KBI risk.
>
>
> I take that back. I will do an exp-run at least to ensure no ports with
> modules need fixing.

It's more than just modules - things like lsof, net-snmp etc are
likely candidates to check too.  Anything that uses libkvm or
/dev/kmem.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
Yes, I know, gmail sucks now. If you see this then I forgot. Habits
are hard to break.


More information about the freebsd-arch mailing list