The mem_init() Function

Mem_init() is located in arch/<host>/mm/init.c.

Mem_init() initializes the kernel's memory management subsystem. It also prints a tabulation of all available memory and the memory occupied by the kernel.