Skip to content

Commit

Permalink
Use host_page_size to determine the page size in the stack pooling al…
Browse files Browse the repository at this point in the history
…locator.
  • Loading branch information
dhil committed Jun 13, 2024
1 parent dcb0360 commit 119daef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub mod wasmfx_pooling {

let total_stacks = 1024 /* total amount of stacks */;

let page_size = crate::vm::page_size();
let page_size = crate::vm::host_page_size();

// Add a page to the stack size for the guard page when using fiber stacks
let stack_size = if config.stack_size == 0 {
Expand Down

0 comments on commit 119daef

Please sign in to comment.