On 7/17/20 3:51 AM, Alex Bennée wrote:
> +size_t qemu_get_host_physmem(void)
> +{
> +#ifdef _SC_PHYS_PAGES
> + long pages = sysconf(_SC_PHYS_PAGES);
> + if (pages > 0) {
> + return pages * qemu_real_host_page_size;
> + }
> +#endif
> + return 0;
> +}
Is it worth examining our own RLIMIT_{AS,DATA} as well?
I suppose that's not usually what is tweaked in the example of a ram-limited
container...
r~
