<br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 6:29 PM, Jeff Haran <span dir="ltr"><<a href="mailto:jharan@bytemobile.com">jharan@bytemobile.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:kernelnewbies-bounces@kernelnewbies.org" target="_blank">kernelnewbies-bounces@kernelnewbies.org</a> [mailto:<a href="mailto:kernelnewbies-bounces@kernelnewbies.org" target="_blank">kernelnewbies-bounces@kernelnewbies.org</a>] <b>On Behalf Of </b>Vaibhav Jain<br>
<b>Sent:</b> Wednesday, July 13, 2011 1:38 AM<br><b>To:</b> Daniel Baluta<br><b>Cc:</b> <a href="mailto:kernelnewbies@kernelnewbies.org" target="_blank">kernelnewbies@kernelnewbies.org</a><br><b>Subject:</b> Re: Need help understanding memory models,cpu modes and address translation<u></u><u></u></span></p>
</div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br><br>Thanks for the link.I really appreciate but I need something more basic and something that <br>
explains these concepts from a broader perspective and not in the context of a <br>particular cpu architecture.Please send me more such links if you come across any.<br><br>Thanks<br>Vaibhav Jain<u></u><u></u></p><div><p class="MsoNormal">
On Wed, Jul 13, 2011 at 1:14 AM, Daniel Baluta <<a href="mailto:daniel.baluta@gmail.com" target="_blank">daniel.baluta@gmail.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
Hi,<br><br>> I am eager to understand the basics of Memory models (flat, segmented etc)<br>> , CPU modes (real,protected)<br>> and address translation (physical to logical etc.) and how all of them work<br>> together. I am very confused<br>
> about this and would really appreciate if someone could provide good<br>> references to these topics.<u></u><u></u></p></div></div><p class="MsoNormal">You may find useful information inside i366 Programmers Manual.<br>
Anyhow, reading materials is the first step in understanding these<br>concepts. You will have to actually read/write/debug pieces of code<br>related to them.<br><br>thanks,<br>Daniel.<br><br>[1] <a href="http://pdos.csail.mit.edu/6.828/2010/readings/i386.pdf" target="_blank">pdos.csail.mit.edu/6.828/2010/readings/i386.pdf</a><u></u><u></u></p>
</div><p class="MsoNormal"><span style="color:#1F497D"><u></u> <u></u></span></p></div></div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">You might want to try “Understanding the Linux Virtual Memory Manager” by Mel Gorman. It’s freely available on the web.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">It’s Linux specific, but since Linux needs to run on a multitude of different processors with different memory management hardware, the approach it takes to doing so in inherently broad.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><br>
</span></p></div></div></div></blockquote><div>A lot of basic concepts can be learnt from JIm Turley's book on 8086<br>Other book is modern operating systems by Tanenbaum which explains everything in much detail with code snippets. <br>
<br></div></div><br>