hi, Do u want to say that the address in yr example program go through tha page table? if yes then i would clear you that each and every address issued by processor always go through page tables,(forget about cache etc ), becoz linux and every modern OS enables paging at very start when it starts in real mode(X86) , I think you can find the code of enabling the paging bit(I think in CR0) register in head.S in linux,in which processor switches from direct address to page table addressing(forget about segmentation again u wont disable in intel processors ) you should read code of switching from real to protected its very interesting code further any doubts their u raise on the list. Prasanna --- paging queries <pdn@xxxxxxxxxx> wrote: > > I would want to know if a simple program like this > would use paging or not. > Is it possible for this program to make use of > paging. > void main() > { > printf("hi"); > } > > What are the citerias for the os to force paging... > Can user force a program to be paged? > Can you give me an example when a user can make use > of paging? > I have tons of doubts on these please clarify. > Thank You. > -- > . > > > > SASKEN BUSINESS DISCLAIMER > This message may contain confidential, proprietary > or legally Privileged information. In case you are > not the original intended Recipient of the message, > you must not, directly or indirectly, use, Disclose, > distribute, print, or copy any part of this message > and you are requested to delete it and inform the > sender. Any views expressed in this message are > those of the individual sender unless otherwise > stated. Nothing contained in this message shall be > construed as an offer or acceptance of any offer by > Sasken Communication Technologies Limited ("Sasken") > unless sent with that express intent and with due > authority of Sasken. Sasken has taken enough > precautions to prevent the spread of viruses. > However the company accepts no liability for any > damage caused by any virus transmitted by this > email. > > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: > http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/