From: rameshpa@gmail.com (Ramesh.P)
To: kernelnewbies@lists.kernelnewbies.org
Subject: process stack
Date: Mon, 27 Jun 2011 10:06:09 -0700 [thread overview]
Message-ID: <BANLkTimuqC5wM6L3c0MC40R0MM3bv4f73w@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimvSuCKvJK97__SAhTvWbry_CpRJQ@mail.gmail.com>
On Sun, Jun 26, 2011 at 9:00 PM, Asutosh Das <das.asutosh@gmail.com> wrote:
>
> On 27 June 2011 09:04, Venkateswarlu P <p.venkatesh551@gmail.com> wrote:
>>
>>
>> Each process is having a stack .
>>
>> In C ,for local variables allocation? this stack? is used (for some extra
>> usage also).
>>
>> what about static and global data allocation ?
>
>
> it goes into BSS (no explicit initialization)
I think static/global variables (in BSS) without explicit initializer
are initialized to zero (null for pointer types).
>>
>> where this data? will be allocated ?.
>>
>>
>> what? about dynamic memory allocation ?
>
> goes into heap
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
>
> --
> Thank you,
> Warm Regards,
> Asutosh Das
> # (91) 9049 000 969
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
prev parent reply other threads:[~2011-06-27 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 3:34 process stack Venkateswarlu P
2011-06-27 4:00 ` Asutosh Das
2011-06-27 17:06 ` Ramesh.P [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimuqC5wM6L3c0MC40R0MM3bv4f73w@mail.gmail.com \
--to=rameshpa@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).