Why does realloc() return NULL?

I am trying to use the kernel routine realloc(). It consistently returns NULL; supposedly because it cannot complete the request. And yet the kernel memory usage statistics ( vmstat -m) tick upward each time it is used.
 
Sysctl_*

realloc() works fine. The problem I was having was related to how I used SYSCTL_*.

Thanks for the advice.
 
Back
Top