mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
unused modules since currently referrence counter isn't reliable and there isn't much memory to recover there anyway.
This commit is contained in:
1 parent
576881217f
commit
de04eecfa9
2 files changed
+8
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of
|
||||
unused modules since currently referrence counter isn't reliable and
|
||||
there isn't much memory to recover there anyway.
|
||||
|
||||
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/dl.c (grub_dl_load_file): Decrease ref counter
|
||||
|
||||
@@ -311,11 +311,13 @@ grub_memalign (grub_size_t align, grub_size_t size)
|
||||
count++;
|
||||
goto again;
|
||||
|
||||
#if 0
|
||||
case 1:
|
||||
/* Unload unneeded modules. */
|
||||
grub_dl_unload_unneeded ();
|
||||
count++;
|
||||
goto again;
|
||||
#endif
|
||||
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user