Re: Using printk, how can I know where the kernel jumps after schedule() function?

2022-10-08 Thread Fabio M. De Francesco
On Friday, August 26, 2022 12:04:41 PM CEST Chan Kim wrote: > Hello experts, > > I am faced with a problem on my experiment. (arm64) > When the linux kernel boots and after it jumped to /bin/sh in the initramfs > (by busybox), it hangs after the program jumps the schedule() function. > I can see

Can Cgroup memory subsystem provide estimated available memory, just like /proc/meminfo: MemAvailable?

2022-10-08 Thread ??????????
Hello cgroup experts, /proc/meminfo: MemAvailable is a very useful mertics, provide estimated available memory, caculated by MemFree, Active(file), Inactive(file), SReclaimable and watermarks. It is implemented by the si_mem_available() function[1]. Can cgroup memory subsystem provide

Re: Missing linux-headers

2022-10-08 Thread Scott J. Crouch
On 8/10/22 15:01, neutrino network wrote: > How to update linux-headers for kernel (6.0.0) compiled from source in centos? > > System has kernel 4.18 headers while kernel is 6.0, however userspace program > generates  error e.g*fatal error: linux/mutex.h: No such file or directory*