> Ah ha, I think I know the problem. And it is related to the kernel version.
> asdfasdf has this:
> $ more /proc/sys/kernel/osrelease
> 2.6.16
> I bet you have something else, something bigger than 2.6.27
>
> The relevant procps code:
>     if (linux_version_code < LINUX_VERSION(2, 6, 27))
>       kb_main_available = kb_main_free;
>     else {
>       FILE_TO_BUF(VM_MIN_FREE_FILE, vm_min_free_fd);
>
> So, the fix will be to have some #if around that extra check and just use
> the old school make available the same as free.

correct:

$ more /proc/sys/kernel/osrelease
2.6.32

Reply via email to