In article <20100331162346.ga11...@britannica.bec.de>, Joerg Sonnenberger <jo...@britannica.bec.de> wrote: >On Wed, Mar 31, 2010 at 06:01:17PM +0200, Alistair Crooks wrote: >> let's learn from the POSIX getline(3) fun we had, and use less generic >> names than MINBUCKET and MAXBUCKET, please, especially if they're >> going in <sys/param.h>? > >They are already, but why do they have to be exported in headers at all? >E.g. I would suggest to define them locally in kern_malloc.c and have >corresponding global variables + sysctl for vmstat() and friends.
That is what ifdef _KERNEL is there for... christos