Operating System Learning Notes (iii) Windows memory management

Source: Internet
Author: User

The System physical page is managed by the (page Frame number database) abbreviation PFN, which is actually an array, and each physical page corresponds to a PFN item.

The address space of the process is managed through VAD (Virtual address destriptor). Each process has an AVL tree to hold these VAD nodes to record the addresses and attributes used.

The memory address attribute of a process is divided into reserved and committed, which is the actual allocation of memory when it is used, while the commit requires delivery of the current space, the allocation of physical pages, and then the correlation between the two.

Let's start with the Ntallocatevirtualmemory function.

First, check the correctness of the function parameters, and address the addresses involved, and then calculate the actual required space length.

Next, get the address of the process object and the process object that need to manipulate the AVL tree

Operating System Learning Notes (iii) Windows memory management

Related Article

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.