Windows Kernel Internals Virtual Memory Manager - I - 東京大学
Windows Kernel Internals
Virtual Memory Manager
*David B. Probert, Ph.D.
Windows Kernel Development
Microsoft Corporation
? Microsoft Corporation
1
Virtual Memory Manager
Features
?
?
?
?
?
?
?
?
?
Provides 4 GB flat virtual address space (IA32)
Manages process address space
Handles pagefaults
Manages process working sets
Manages physical memory
Provides memory-mapped files
Supports shared memory and copy-on-write
Facilities for I/O subsystem and device drivers
Supports file system cache manager
? Microsoft Corporation
2
Virtual Memory Manager
Features
? Provide session space for Win32 GUI
applications
? Address Windowing Extensions (physical
overlays)
? Address space cloning (posix/fork() support)
? Kernel-mode memory heap allocator (pool)
C Paged Pool, Non-paged pool, Special pool/verifier
? Microsoft Corporation
3
Virtual Memory Manager
Windows Server 2003 enhancements
? Support for Large (4MB) page mappings
? Improved TB performance, remove
ContextSwap lock
? On-demand proto-PTE allocation for mapped
files
? Other performance & scalability
improvements
? Support for IA64 and Amd64 processors
? Microsoft Corporation
4
Virtual Memory Manager
NT Internal APIs
NtCreatePagingFile
NtAllocateVirtualMemory (Proc, Addr, Size, Type,
Prot)
Process: handle to a process
Protection: NOACCESS, EXECUTE, READONLY,
READWRITE, NOCACHE
Flags: COMMIT, RESERVE, PHYSICAL, TOP_DOWN,
RESET, LARGE_PAGES, WRITE_WATCH
NtFreeVirtualMemory(Process, Address, Size,
FreeType)
FreeType: DECOMMIT or RELEASE
NtQueryVirtualMemory
? Microsoft Corporation
NtProtectVirtualMemory
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- introduction to the memory ras features on lenovo thinksystem servers
- linux memory management umass
- comp322 introduction to c 15ex winter 2011 lecture 4 memory
- comparison of memory management systems of bsd windows and gaurang
- nvidia gpu memory error management
- command and control software development memory management
- lecture notes on memory management carnegie mellon university
- memory errors in operating systems problem and solutions fau
- dmmu dynamic memory management unit
- windows memory dump analysis
Related searches
- windows 10 virtual memory setup
- best virtual memory windows 10
- how to set virtual memory windows 10
- view virtual memory windows 10
- increase virtual memory windows 10
- adjusting virtual memory windows 10
- windows 10 virtual memory recommendation
- adjust virtual memory windows 10
- virtual memory setting for windows 10
- optimize virtual memory windows 10
- virtual memory management windows 10
- virtual memory manager windows 10