Searched refs:page_aligned_stack_size (Results 1 – 1 of 1) sorted by relevance
309 …const std::size_t page_aligned_stack_size = (stack_size + (REG_PAGE_SIZE - 1)) & ~(REG_PAGE_SIZE -… in create_coroutine() local310 const std::size_t protected_stack_size = page_aligned_stack_size + 2 * REG_PAGE_SIZE; in create_coroutine()317 …int err = mprotect((void*)(stack_ptr + REG_PAGE_SIZE), page_aligned_stack_size, PROT_READ | PROT_W… in create_coroutine()322 c.my_stack_size = page_aligned_stack_size; in create_coroutine()