Page tables in Linux -
question 1 :- during booting process, linux creates page tables. however, when new process executed, has own page table. how these 2 tables different?
question 2 :- on x86 arch, linux uses defined scheme (which includes page directory, page table entries , likewise) translate linear address physical address. suppose have linear address x in process address space when translated using page tables corresponds physical address y. there other process b has valid linear address x belonging own address space. if process b wants access x, x once again corresponds same physical address y?
question 1: page tables aren't created @ boot. new page table created every time processes forked. new tables follow template set kernel @ boot, each independent data structure can change per-process. differ allow each process have own working memory can access.
question 2: no, , behavior 1 of reasons paging used in first place.
Comments
Post a Comment