Re: map bss to addr zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 27, 2012 at 3:31 AM, Srinivas Ramanan
<srinivas.ramanan@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux