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".Donald Knuth wrote:We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.
General protection in 64bit mode (Intel)
Re: General protection in 64bit mode (Intel)
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:
If something looks overcomplicated, most likely it is.
Re: General protection in 64bit mode (Intel)
+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 !