|
|
|
|
|
by _urga
2033 days ago
|
|
Is there any syscall to do the equivalent but from C? e.g. If you were pre-allocating hash tables for a caching service, it would be convenient if the config could stipulate 80% of the system memory instead of the user having to specify the exact amount. |
|
There is no interface for that information because at the level of abstraction at which userspace applications operate, that information has no meaning.