Dear Grub Developers,
recently we faced the problem the author in this old thread faced:
- https://lists.gnu.org/archive/html/grub-devel/2012-10/msg9.html
Ie. our theme wouldn't display properly due to different screen resolutions.
Hence, I wanted to change specifically the font size of our t
Hi,
Change from V2:
1. Splited into two patches. One deal with the disk cache problem. The
other is focused on improvement.
2. Add types to regions. So small and large allocations are effectively
seperated into different heaps. This facility can also seperate module
segments and plain data chunks
This patch add type infomation to heap regions. Currently there are four
types: GRUB_MM_SIZE_SMALL, GRUB_MM_SIZE_LARGE, GRUB_MM_CLASS_DATA,
GRUB_MM_CLASS_MODULE. Each heap region can have its own mask of
acceptable memory allocation types.
The GRUB_MM_SIZE_* types denotes the relative size of an a
Previously, every heap grow will cause all disk caches invalidated,
which decreases performance severely. This patch moves disk cache
invalidation code to the last of memory squeezing measures, so disk
caches are released only when no other ways to get free memory.
Signed-off-by: Zhang Boyang
---