Is there an explict split between userspace and kernel in physical memory on Linux x86-64?

前端 未结 1 686
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-20 13:45

That is, given a physical address, can I tell whether this address is from userspace or not?

As far as I know, in virtual address space, the kernel will use the upp

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 14:08

    No.

    Almost any physical page frame can be mapped to a userspace virtual address or a kernel virtual address, or even both at the same time.

    0 讨论(0)
提交回复
热议问题