Re: help with huge memory consumption??
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Fri, 02 Mar 2007 17:15:36 GMT
Rainer Weikusat <rainer.weikusat@xxxxxxxxx> wrote in part:
A virtual page that hasn't been used yet will have no
physical page associated with it.
True enough. But will take resources for kernel memory
maps, even if the pages are never used.
AFAIK, minor pagefaults have not gotten this minor :)
But how can a stack page
possibly be shared and with whom?
fork() does this by default. Most of the old stack
(data pushed by parents) can be shared. It often is.
Only stack pushes [writes] trigger the CoW.
-- Robert
.
- Follow-Ups:
- Re: help with huge memory consumption??
- From: Rainer Weikusat
- Re: help with huge memory consumption??
- References:
- help with huge memory consumption??
- From: Dan Miller
- Re: help with huge memory consumption??
- From: Bin Chen
- Re: help with huge memory consumption??
- From: Dan Miller
- Re: help with huge memory consumption??
- From: Bin Chen
- Re: help with huge memory consumption??
- From: Robert Redelmeier
- Re: help with huge memory consumption??
- From: Bin Chen
- Re: help with huge memory consumption??
- From: Robert Redelmeier
- Re: help with huge memory consumption??
- From: Rainer Weikusat
- help with huge memory consumption??
- Prev by Date: Re: Problems constructing ELF program headers
- Next by Date: Re: help with huge memory consumption??
- Previous by thread: Re: help with huge memory consumption??
- Next by thread: Re: help with huge memory consumption??
- Index(es):