<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 15, 2015 at 6:23 PM, <a href="mailto:jinzhao@wingtech.com">jinzhao@wingtech.com</a> <span dir="ltr">&lt;<a href="mailto:jinzhao@wingtech.com" target="_blank">jinzhao@wingtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div><span></span>Dear all:</div><div>     I met a problem as below, what the function of <span style="font-size:10.5pt;line-height:1.5;background-color:window">walk_page_range??</span></div><div><span style="background-color:rgba(0,0,0,0)">Exception Class: Kernel (KE)
<br>PC is at [&lt;ffffffc00017fc90&gt;] walk_page_range+0x3c/0x314
<br>
<br>Current Executing Process:
<br>[Binder_C, 3611][main, 354]
<br>
<br>Backtrace:
<br>[&lt;ffffffc0009f21dc&gt;] __do_kernel_fault.part.5+0x70/0x84
<br>[&lt;ffffffc0000942f4&gt;] do_bad_area+0x90/0x94     
<br>[&lt;ffffffc000094340&gt;] do_translation_fault+0x30/0x4c    
<br>[&lt;ffffffc0000813fc&gt;] do_mem_abort+0x38/0x98    
<br>[&lt;ffffffc000083c58&gt;] el1_da+0x1c/0x88  
<br>[&lt;ffffffc0001eb3e0&gt;] show_smap+0x88/0x284      
<br>[&lt;ffffffc0001eb5e8&gt;] show_pid_smap+0xc/0x18    
<br>[&lt;ffffffc0001aefb8&gt;] seq_read+0x1a4/0x40c      
<br>[&lt;ffffffc00018e75c&gt;] vfs_read+0x88/0x170       
<br>[&lt;ffffffc00018ebf0&gt;] SyS_read+0x40/0x8c
<br>[&lt;ffffffc000084308&gt;] cpu_switch_to+0x48/0x4c   
<br>[&lt;ffffffffffffffff&gt;] 0xffffffffffffffff</span></div>
<div><br></div><div><br></div><div>Thanks!</div><hr style="width:210px;min-height:1px" align="left" color="#b5c4df" size="1">
<div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt"><div><a href="mailto:jinzhao@wingtech.cn" target="_blank">jinzhao@wingtech.cn</a></div></div></span></div>
</div><br clear="all"></blockquote></div><br></div><div class="gmail_extra">AFAIK, that&#39;s the function to get PTE of the related pages, then get the virtual address of them.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe the caller hit invalid PTE ?<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">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></div>
</div></div>