Re: meminfo Committed_AS underflows

From: Alan Cox
Date: Wed Apr 15 2009 - 04:33:37 EST


> The 1023 cpus won't ever hit the ACCT_THRESHOLD. The 1 CPU that did
> will decrement the global 'vm_committed_space' by ~128 GB. Underflow.
> Yay. This happens on a much smaller scale now.
>
> Should we be protecting meminfo so that it spits slightly more sane
> numbers out to the user?

Yes. It used to be accurate but the changes were put in as the memory
accounting value was actually starting to show up in profiles as it
bounced around the CPUs - perhaps the constraint should instead be a
worst case error as percentage of total system memory ?

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/