Commits
Jan Dakinevich authored and Konstantin Khorenko committed bf38702c790
ve/cpu: handle sysfs attributes for CTs Add support for 'offline', 'online', 'possible' and 'present' attributes under '/sys/devices/system/cpu' for CTs. All allowed CPUs are assumed as posible and online, list of offline CPUs is empty. This allows lscpu utility to correctly show an amount of CPUs in its output, however topology information is still not provided. https://jira.sw.ru/browse/PSBM-91808 Signed-off-by: Jan Dakinevich <jan.dakinevich@virtuozzo.com> Acked-by: Konstantin Khorenko <khorenko@virtuozzo.com> khorenko@: userspace patches are required for this feature as well: 1) to show /sys/devices/system/cpu/{online,possible,present,offline} entries inside Container 2) to show only limited number of /sys/devices/system/cpu/cpuX directories inside Containers depending on $CPUS CT settings.