From: "Jagadeesh Bhaskar P" <jbhaskar@hclinsys.com>
To: "Oliver Neukum" <neukum@fachschaft.cup.uni-muenchen.de>
Cc: "LKML" <linux-kernel@vger.kernel.org>
Subject: Re: Query regarding current macro
Date: Wed, 1 Dec 2004 12:13:57 +0530 [thread overview]
Message-ID: <001901c4d771$222bf940$50500897@jagadeesh> (raw)
In-Reply-To: <Pine.LNX.4.58.0412010732330.9205@fachschaft.cup.uni-muenchen.de>
So the rest of the bits in esp means garbage values?
On Wed, 1 Dec 2004, Jagadeesh Bhaskar P wrote:
> > I have read that both the kernel stack and process descriptor of a
> > process is stored in together in an 8KB page. Now the offsets in the
> > page should start from all bits 0, rite? So then why masking only the 13
> > bits LSB?? What is the significance of keeping that length at 13??
>
> The stack grows downwards on x86. Thus the lowermost stack entry has all
> bits set. The length is 13 because 13 corresponds to 8K.
>
> HTH
> Oliver
--
Regards,
Jagadeesh Bhaskar P
prev parent reply other threads:[~2004-12-01 6:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 5:33 Jagadeesh Bhaskar P
2004-12-01 6:34 ` Oliver Neukum
2004-12-01 6:43 ` Jagadeesh Bhaskar 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='001901c4d771$222bf940$50500897@jagadeesh' \
--to=jbhaskar@hclinsys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neukum@fachschaft.cup.uni-muenchen.de \
/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
all inboxes | Powered by JetHome®