mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
The physical memory of a system is divided into several types, like memory reserved for device, for kernel pagetable, etc. The remaining area is for Buddy allocator. Normally, The memory for Buddy is consist of different size blocks, so, under meeting the memory request of kernel booting, we can defer free the large block size to Buddy which can be done later in work queue in parallel to other kernel threads, and the size of the large block can be defined in kernel command line Save boot time about 6ms on 512MB rv1126 evb. Change-Id: Ie7a8d3122d8d92ad918e8bf680f5949412709f37 Signed-off-by: Simon Xue <xxm@rock-chips.com> Signed-off-by: Tao Huang <huangtao@rock-chips.com>