this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

LKM: host_info() should return memory size in bytes, not pages

+1 -1
+1 -1
src/lkm/servers/mach_host.c
··· 116 116 memset(host_info_out, 0, *host_info_outCnt * sizeof(int)); 117 117 118 118 si_meminfo(&i); 119 - hinfo->memory_size = i.totalram; 119 + hinfo->memory_size = i.totalram * PAGE_SIZE; 120 120 hinfo->max_cpus = num_possible_cpus(); 121 121 hinfo->avail_cpus = num_online_cpus(); 122 122 #if defined(__i386__)