Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesWindows' Memory Dance


December 1995 / Reviews / More RAM for Win 3 Holdouts / Windows' Memory Dance

When Windows 3.x starts, it creates a hypothetical space called linear memory . Windows programs request memory from the Windows KERNEL module, which allocates linear memory. It's not physical RAM, but programs address linear memory as if it were RAM, even though there may initially be no RAM at those addresses. Windows maps the virtual addresses from the program's address space to physical pages of memory. The program sees only the linear memory. When a program accesses a memory address that isn't physically present, a page fault interrupt triggers Windows' virtual memory manager (VMM), which cleverly places RAM just where and when it is needed.


Linear Memory Addressing

illustration_link (9 Kbytes)

Windows programs ask for memory and get allocations of linear memory. The Windows virtual memory manager makes sure physical RAM is paged to each location in linear memory when a program needs it.


Up to the Reviews section contentsGo to previous article: More RAM for Win 3 HoldoutsGo to next article: Data to the Nth DimensionSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network