General protection in 64bit mode (Intel)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Velko
Member
Member
Posts: 153
Joined: Fri Oct 03, 2008 4:13 am
Location: Ogre, Latvia, EU

Re: General protection in 64bit mode (Intel)

Post by Velko »

Decision to use or not to use paging should not be based on such an obscure basis as "it's slightly faster". To quote one of the smartest guys out there:
Donald Knuth wrote:We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.
If you choose to go without paging, do it for the right reasons. For example, you think that your OS will be simpler and easier to manage this way. Or you just want to try and see how it works out. Or whatever, but not "it's faster".
If something looks overcomplicated, most likely it is.
User avatar
Chandra
Member
Member
Posts: 487
Joined: Sat Jul 17, 2010 12:45 am

Re: General protection in 64bit mode (Intel)

Post by Chandra »

+1 Velko. That's the exact point of making decisions. How often are we obliged to make decisions that favors performance over speed? I believe a lot of times. The only valid reason for dropping paging is, you don't need any avantages offered by paging. If you're on a long run with an OS that isn't going to die anywhere soon, you're certainly recommended to use paging because that's the way to go. If you chose the opposite, that's up to you.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Post Reply