Is stack memory contiguous physically in Linux?

前端 未结 4 488
遥遥无期
遥遥无期 2020-12-20 18:58

As far as I can see, stack memory is contiguous in virtual memory address, but stack memory is also contiguous physically? And does this have something to do with the stack

4条回答
  •  星月不相逢
    2020-12-20 19:37

    No, there is no promise of contiguity of physical addresses. But it doesn't matter, because user-space programs don't use physical addresses, so have no idea that this is the case.

提交回复
热议问题