Re: Qurey on physical memory allocation with malloc/calloc
- From: Marcel Bruinsma <we-love-all-spam@xxxxxxxxx>
- Date: Wed, 21 May 2008 01:31:15 +0200
In article <CZudnbX-RceU367VnZ2dnUVZ_u2dnZ2d@xxxxxxxxxxxxxxxxxxxxxx>,
Gordon Burditt wrote:
Not necessarily. What you describe is so-called "overcommitment"
It's not overcommitment if I request 1MB from malloc(), and malloc()
allocates 1MB of virtual memory in the form of 1MB of page/swap
space and no physical RAM. (If you're going to call swap space
"physical memory", point conceeded, but usually the term "physical
memory" refers to RAM directly accessible by the CPU.)
RAM => core
CPU memory => registers
.
- Follow-Ups:
- Re: Qurey on physical memory allocation with malloc/calloc
- From: phil-news-nospam
- Re: Qurey on physical memory allocation with malloc/calloc
- References:
- Qurey on physical memory allocation with malloc/calloc
- From: aruna . mysore
- Re: Qurey on physical memory allocation with malloc/calloc
- From: Jens Thoms Toerring
- Re: Qurey on physical memory allocation with malloc/calloc
- From: Gordon Burditt
- Qurey on physical memory allocation with malloc/calloc
- Prev by Date: Re: Qurey on physical memory allocation with malloc/calloc
- Next by Date: Re: aio_read/write versus O_NONBLOCK
- Previous by thread: Re: Qurey on physical memory allocation with malloc/calloc
- Next by thread: Re: Qurey on physical memory allocation with malloc/calloc
- Index(es):
Relevant Pages
|