How is the value of KernelStack in /proc/meminfo computed ?

Paulo Miguel Almeida paulo.miguel.almeida.rodenas at gmail.com
Fri Aug 7 17:05:45 EDT 2020


On Fri, Aug 07, 2020 at 03:09:33PM -0500, William Tambe wrote:
> How is the value of KernelStack in /proc/meminfo computed ?
> 
> Any pointers in the code source would be much appreciated.
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

This is where it's defined: https://elixir.bootlin.com/linux/v5.8/source/fs/proc/meminfo.c#L158

Best regards,

Paulo Almeida



More information about the Kernelnewbies mailing list