tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Extend "struct malloc_type" for extended KMEMSTATS?

In article <>,
Joerg Sonnenberger  <> 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...


Home | Main Index | Thread Index | Old Index