Questions about virtual addresses and logical addresses

Source: Internet
Author: User
Some Questions about virtual addresses and logical addresses-general Linux technology-Linux programming and kernel information. The address range used by the kernel is 3G-4G, which should be called virtual addresses, which are mapped to physical addresses through the page table. The logical address refers to the virtual address 3G-3G + main_memory_size, Which is linearly mapped to the physical address.

If the system does not support the paging mechanism, the logical address 3G-3G + main_memory_size can be linearly reflected to the physical address through the segmentation mechanism, however, how does the virtual address 3G + main_memory_size --- 4G be reflected in the physical address? Is it also in linear mode?

For example, if my current physical memory is 256 M, the logical address is 0xC0000000 (3G)-0xD0000000 (3G + 256 M). In other words, the kernel logical address 0xC0000000 corresponds to the physical Master Address 0, and the kernel logical address 0xD0000000 corresponds to the physical address 256 M. If the paging mechanism is not supported, 0xD0000000 (3G + 256 M) --- can the virtual address 0 xffffffff (4G) be reflected in the physical address? How can I launch a video?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.