From: Jagadeesh Bhaskar P <jbhaskar@hclinsys.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Query regarding current macro
Date: Wed, 01 Dec 2004 11:03:58 +0530 [thread overview]
Message-ID: <1101879238.7423.13.camel@myLinux> (raw)
Hi all,
I was going through the explanation of the current macro, and found out
that it was got by masking 13-bits LSB the esp register. So is it that
always the process descriptor will start at a location with the last 13
bits are 0??
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??
Please do help!!
TIA
--
With regards,
Jagadeesh Bhaskar P
next reply other threads:[~2004-12-01 5:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 5:33 Jagadeesh Bhaskar P [this message]
2004-12-01 6:34 ` Query regarding current macro Oliver Neukum
2004-12-01 6:43 ` Jagadeesh Bhaskar P
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=1101879238.7423.13.camel@myLinux \
--to=jbhaskar@hclinsys.com \
--cc=linux-kernel@vger.kernel.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