Re: Kernel mode stack per process?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    Am I right in saying that there is kernel mode stack maintained per
> process?

Yes.

> Also in the book "Understanding the Linux Kernel" in chapter 3:
> Processes there is a diagram of the stack and the thread_info structure. The
> addresses shown are 0x015fa000 etc. Shouldn't the addresses start from
> 0xc0000000? Is that a typo?

The diagram's title is "Storing the thread_info structure and the
process kernel stack in two page frames". So its probably referring to
physically memory? Further the addresses indicate that this is
ZONE_NORMAL in physical memory (Contains page frames of memory at and
above 16 MB and below 896 MB). So I think the diagram is alright.

-Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux