Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
buhe committed Nov 14, 2021
1 parent e0f04b5 commit 97bd3ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion os/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub const USER_STACK_SIZE: usize = 4096 * 2;
pub const KERNEL_STACK_SIZE: usize = 4096 * 64;
pub const KERNEL_HEAP_SIZE: usize = 0x30_0000;
pub const KERNEL_HEAP_SIZE: usize = 0x20_0000;
pub const MEMORY_END: usize = 0x80800000;
pub const PAGE_SIZE: usize = 0x1000;
pub const PAGE_SIZE_BITS: usize = 0xc; //12 bit
Expand Down
2 changes: 1 addition & 1 deletion user/src/bin/forktest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extern crate user;

use user::{fork, wait, exit};

const MAX_CHILD: usize = 40;
const MAX_CHILD: usize = 10;

#[no_mangle]
pub fn main() -> i32 {
Expand Down

0 comments on commit 97bd3ef

Please sign in to comment.