<br><br><div class="gmail_quote">On Tue, Jul 10, 2012 at 9:42 PM, Mulyadi Santosa <span dir="ltr">&lt;<a href="mailto:mulyadi.santosa@gmail.com" target="_blank">mulyadi.santosa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi..<br>
<div class="im"><br>
On Tue, Jul 10, 2012 at 6:51 PM, Arun KS &lt;<a href="mailto:getarunks@gmail.com">getarunks@gmail.com</a>&gt; wrote:<br>
&gt; Hello Experts,<br>
&gt;<br>
&gt; I have a requirement to change __log_buf memory(kernel printk buffer)<br>
&gt; as non cacheable memory.<br>
&gt; How can I change the page attributes for changing cache policy to non cacheable?<br>
<br>
</div>I just can give short clue. I think somehow you must find its PTE<br>
entry...there, IIRC there is page attribute that can be changed to<br>
make it uncacheable.<br>
<br>
cross check the Intel processor manual for further clarification (if<br>
it&#39;s indeed x86 arch)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
regards,<br>
<br>
Mulyadi Santosa<br>
Freelance Linux trainer and consultant<br>
<br>
blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>
training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br><br>The __log_buf is a static array. Will it be in cacheable page? And by cacheable here, I guess we mean entry present in page cache, right?<br><br>- Rohan<br><br><br><br>