Re: Kernel stack question

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

 



> I wanted to know whether Kernel maintains a kernel mode stack for each user
> process? or does it maintain one kernel mode stack for all user processes?.

One for each process.

> Where exactly in memory is this stack space allocated?.
>
> How does kernel get the address of the process descriptor from the stack
> pointer?

current_thread_info()->task

> Thanks for your help in advance.
>
> Pandari

--
Bora SAHIN

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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