* grub-core/kern/mm.c (grub_real_malloc): Decrease cut-off of moving the
pointer to 32K. This is the size of cache element which is the most common allocation >1K. This way the pointer is always around blocks of 32K and so we keep performance while decreasing fragmentation.
This commit is contained in:
parent
39ff43c579
commit
45bf8b3a75
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-11-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/mm.c (grub_real_malloc): Decrease cut-off of moving the
|
||||
pointer to 32K. This is the size of cache element which is the most
|
||||
common allocation >1K. This way the pointer is always around blocks
|
||||
of 32K and so we keep performance while decreasing fragmentation.
|
||||
|
||||
2013-11-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/mm.c (grub_real_malloc): Don't update the pointer to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue