Re: Kernelnewbies Digest, Vol 22, Issue 1
hello everybody, I am new to kernel programming. Can anyone tell me how to start it. kishore kumar On Sun, Sep 2, 2012 at 9:30 PM, <kernelnewbies-request@kernelnewbies.org>wrote:
Send Kernelnewbies mailing list submissions to kernelnewbies@kernelnewbies.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies or, via email, send a message with subject or body 'help' to kernelnewbies-request@kernelnewbies.org
You can reach the person managing the list at kernelnewbies-owner@kernelnewbies.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Kernelnewbies digest..."
Today's Topics:
1. Re: map bss to addr zero (Ritesh Harjani) 2. Re: map bss to addr zero (Mulyadi Santosa) 3. Re: Kernel booting problem. (Jim Cromie)
----------------------------------------------------------------------
Message: 1 Date: Sun, 2 Sep 2012 00:53:17 +0530 From: Ritesh Harjani <ritesh.harjani@gmail.com> Subject: Re: map bss to addr zero To: Srinivas Ramanan <srinivas.ramanan@gmail.com>, mulyadi.santosa@gmail.com Cc: kernelnewbies@kernelnewbies.org Message-ID: < CAD15agbM8jO+-KmrRByDpd0NRN3k_bcpEQi9p8W721c8_9Pefg@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
On Mon, Aug 27, 2012 at 2:01 AM, Srinivas Ramanan < srinivas.ramanan@gmail.com> wrote:
Hi all, This is an interview question. "What is the implication of mapping BSS to the Virtual Memory Segment 0?"
I was not able to find the answer from web. So posting here. thanks, srinivas
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
The bss section typically includes all uninitialized variables declared with the static keyword. The zero page which is a copy-on-write page that reads as zero is used to map the BSS segment. Any process referencing the zero page sees the page filled with zeos and if it tries to writes to the page, it ends up modifying a private copy. (LDD ch15. page 429)
Mulyadi,
Why it will generate a page fault later when process will tries to reference it, while it already has mapped with the zero page?
Sorry if i am wrong anywhere. Ritesh
On Mon, Sep 3, 2012 at 2:45 PM, kishore kumar <kishoreopen@gmail.com> wrote:
hello everybody,
I am new to kernel programming. Can anyone tell me how to start it.
have you read the following page? http://kernelnewbies.org/FAQ/WhereDoIBegin Also, please kindly use bottom post. And please strip out the unneeded part of the message when you reply. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (2)
-
kishore kumar -
Mulyadi Santosa