LXC: Limit CPU count to what is given in /proc/cpuinfo despite the container seeing the real host CPUs

This commit is contained in:
Daniel Lange
2022-05-04 18:21:41 +02:00
parent c7413fd677
commit 0d53245cf9
2 changed files with 31 additions and 1 deletions

View File

@ -51,6 +51,8 @@ extern const MeterClass* const Platform_meterTypes[];
bool Platform_init(void);
void Platform_done(void);
extern bool Running_containerized;
void Platform_setBindings(Htop_Action* keys);
int Platform_getUptime(void);