Re: Learning Memory management and process management.

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

 



Hi All,

Thanks for your great support. Linux Kernel Primer book really good. Suggest me reference book for device driver programming.

Thanks,
Prabhu



Bond wrote:
On Thu, Oct 21, 2010 at 12:53 PM, prabhu <prabhum@xxxxxxxxxxxxx> wrote:
  
HI All,

I am new to Kernel newbies. Last month i have started to learn linux kernel.
I have struggled to understand the relation between memory and the process.

I would be grateful to you if some one provide the answers/reference
document to the below question.

How the kernel determine processor architecture. That means at what point of
the kernel understand the processor architecture and start working on
architecture based operations?
    
I have no idea of this.
  
How the process pass the data into the processor and get the output?
Does any relation exists b/w file-system and the page table in hardware
address ?
    
There are functions copy_from_user and copy_to_user these
are the functions which pass on data from user space to kernel space.
You can use a command strace
try to run it as follows

strace firefox on terminal you will see a lot of output.

  
How the kernel load new memory area from the physical disk to RAM. Does
processor involved  in this operation?
How the processor intimate the page fault exception to the kernel . which
register get involved in this operation?
How the process restart the operation after load the required pages into the
memory?
Does processor have separate memory for storing instruction and data. If
yes, what would be the size ?
What is the relation between GDT and LDT. Does each processor have its own
GDT and LDT?. If so how the process details are organized by the kernel
where is it stored in the memory and how the process identifies this? what
is the default memory space will be allocated to this table.

Any information related to processor architecture detail and working would
be helpful for me to understand overall structure.
    
I know a book Linux Kernel Primer if you can get it ,it might help you.
  
Above questions may be unrelated or stupid. If so sorry for the
inconvenience.
    
No question is stupid and when in doubt it is better to ask and get
ridiculed at least you will learn some thing.
  
Thanks,
Prabhu

    



  


[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