map bss to addr zero
Mulyadi Santosa
mulyadi.santosa at gmail.com
Mon Aug 27 10:15:14 EDT 2012
On Mon, Aug 27, 2012 at 3:31 AM, Srinivas Ramanan
<srinivas.ramanan at gmail.com> wrote:
> Hi all,
> This is an interview question.
> "What is the implication of mapping BSS to the Virtual Memory Segment 0?"
segment 0? or mapping zero page?
If it is indeed zero page, well, it's to trigger page fault later and
do actual page allocation when the variables (or structure etc) at BSS
is actually accessed.
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list