lkml.org 
[lkml]   [2004]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectQuery regarding current macro
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.045 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site