LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-14-2004, 03:27 AM   #1
c12ayon
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
about two level paging


consider a system with a 32 bit logical address space, if the page size is 4kb, then the two level paging will have:
page number | page offset
|
______p1______ ______p2_____|________d____
|______10______|______10_____|________12___|

why each page (p1 and p2) both have 10 and 10? why not 8 and 12?
 
Old 04-14-2004, 05:58 AM   #2
bakery2k
Newbie
 
Registered: Oct 2003
Posts: 0

Rep: Reputation: 0
I think it's an arbitrary decision. If you were designing a system, you could perfectly well choose 8 and 12.

The advantage to having 10 and 10 however, is that it gives the page directory and each page table 1024 entries. If each page table entry is 32 bits, the page tables are exactly the size of a page themselves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
POCSAG paging software rawfasting Linux - Software 0 11-19-2005 03:17 AM
excessive paging utkanbir Linux - General 3 07-25-2005 03:41 AM
Paging Linareuser bigiron45 Linare 4 01-09-2005 01:19 PM
SMS Paging Software juliettree Linux - Software 0 05-05-2004 02:59 AM
paging space jnc Programming 0 09-12-2001 11:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration