We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227d520 commit 6261f99Copy full SHA for 6261f99
aero.py
@@ -451,7 +451,7 @@ def run_in_emulator(args, iso_path):
451
452
qemu_args = ['-cdrom', iso_path,
453
'-M', 'q35',
454
- '-m', '5G',
+ '-m', '512M',
455
'-smp', '5',
456
'-serial', 'stdio']
457
src/aero_kernel/src/mem/paging/frame.rs
@@ -550,7 +550,7 @@ impl GlobalFrameAllocator {
550
for j in (0..=i).rev() {
551
let sizee = BUDDY_SIZE[j];
552
553
- if remaning >= sizee {
+ while remaning >= sizee {
554
self.set_bit(result + (remaning - sizee) + size, j);
555
remaning -= sizee;
556
}
0 commit comments