Thread (5 messages) flat view 5 messages, 4 authors, 2012-09-02

map bss to addr zero

From: Mulyadi Santosa <hidden>
Date: 2012-08-27 14:15:14

On Mon, Aug 27, 2012 at 3:31 AM, Srinivas Ramanan
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help