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

Somw questions [ MAYBE OFFTOPIC ]



Hi!

These might be newbie like qs., but I would really appreciate it if anyone
could answer them.

1) How does the processor notify the OS of a pagefault ? or a null pointer
exception ?
 Now null pointer exception I know, is done using the expand down
attribute in descriptor. However, when the processor gp faults, how does
it know it is a null pointer exception ?

Where does it store the program counter ?

2) How are the following exceptions handled ;
	TLB Refill
	TLB Invalid
	TLB Modify ?

3) How does the processor differentiate between entries (PTE) in the TLB
belonging to different processes ? Is it a bit in this ?

4) Why is the vm_area_structs maintained as a circular list, AVL tree and
as a doubly linked list ?
	Why an AVL tree ? Any specific reason ?

5) What is the difference between SIGSEGV and a SIGBUS ? 

6) How does the processor signal memory access inan illegal way (i.e.
trying write access to memory when this is not allowed )

7) How does linux handle malloc function ?


I would really appreciate it if anyone could answer these.

Please cc any answers to me as I am not on this list.

Thanks a lot.



--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/